/*
Theme Name: Brandon Houston Realty Social Links
Theme URI: https://brandonhoustonrealty.com
Author: Brandon Houston Realty
Description: A polished personal real-estate marketing theme for Brandon Houston Realty, affiliated with F.C. Tucker Company.
Version: 2.1.0
Text Domain: bhr
*/

:root {
  --black: #060708;
  --black-soft: #101318;
  --navy: #07172d;
  --gold: #d7aa35;
  --gold-deep: #b98919;
  --cream: #f6f1e7;
  --white: #ffffff;
  --ink: #10213f;
  --muted: #68727f;
  --border: #e1ddd6;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: #24272d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.eyebrow { color: var(--gold); font-size: .77rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 8px; text-transform: uppercase; }
h1, h2, h3 { margin: 0; }

.topbar { background: #030405; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; }
.topbar-inner { align-items: center; display: flex; justify-content: space-between; min-height: 42px; }
.topbar-list { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; font-size: .82rem; }
.topbar-list a, .topbar-list span { color: #fff; text-decoration: none; }
.topbar-list span span, .topbar-list a span { color: var(--gold); font-size: .78rem; margin-right: 6px; }
.topbar-cta { align-items: center; align-self: stretch; background: var(--gold); color: #101010; display: inline-flex; font-size: .77rem; font-weight: 900; letter-spacing: .04em; padding: 0 24px; text-decoration: none; text-transform: uppercase; }
.topbar-cta:hover { background: #e5bb51; }

.site-header { background: #030405; color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 92px; }
.brand { align-items: center; display: flex; text-decoration: none; }
.brand-logo, .custom-logo { height: 82px; object-fit: contain; width: 228px; }
.primary-nav ul { align-items: center; display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: #fff; font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover { color: var(--gold); }
.menu-toggle { background: transparent; border: 1px solid var(--gold); border-radius: 4px; color: #fff; display: none; font-weight: 800; padding: 9px 12px; }

.hero { background: linear-gradient(130deg, #08090b 0%, #111418 58%, #20242a 100%); color: #fff; min-height: 338px; overflow: hidden; position: relative; }
.hero-lines { inset: 0; opacity: .16; pointer-events: none; position: absolute; }
.hero-lines:before, .hero-lines:after { content: ""; border-top: 1px solid var(--gold); left: 15%; position: absolute; transform: rotate(28deg); width: 620px; }
.hero-lines:before { top: 110px; }
.hero-lines:after { top: 200px; width: 760px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 338px; position: relative; }
.hero-copy { align-self: center; padding: 30px 0 44px; position: relative; z-index: 3; }
.hero-copy h1 { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 4.5vw, 4.7rem); letter-spacing: -.045em; line-height: .94; margin-bottom: 16px; }
.hero-copy h1 span { color: var(--gold); }
.hero-lead { color: #fff; font-size: 1.02rem; max-width: 570px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button { align-items: center; background: var(--gold); border: 2px solid var(--gold); color: #0d0d0d; display: inline-flex; font-size: .78rem; font-weight: 900; justify-content: center; letter-spacing: .05em; min-height: 42px; padding: 11px 22px; text-decoration: none; text-transform: uppercase; transition: .18s ease; }
.button:hover { background: #e6bb4b; border-color: #e6bb4b; transform: translateY(-1px); }
.button--outline { background: transparent; color: var(--gold); }
.button--outline:hover { background: var(--gold); color: #0d0d0d; }
.button--small { font-size: .72rem; min-height: 36px; padding: 9px 16px; }
.hero-photo-wrap { align-self: end; display: flex; height: 100%; justify-content: center; overflow: hidden; position: relative; }
.hero-photo { align-self: end; height: 322px; max-width: none; object-fit: cover; object-position: center top; width: 455px; }

.quick-actions { margin-top: -38px; position: relative; z-index: 8; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.quick-card { align-items: flex-start; background: #09101a; border-right: 1px solid rgba(255,255,255,.28); border-top: 2px solid var(--gold); color: #fff; display: grid; gap: 12px; grid-template-columns: 42px 1fr; min-height: 146px; padding: 18px 15px 14px; }
.quick-card:first-child { border-left: 1px solid rgba(255,255,255,.28); }
.quick-icon svg { fill: none; height: 38px; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; width: 38px; }
.quick-card h3 { color: #fff; font-size: .86rem; line-height: 1.05; margin-bottom: 6px; text-transform: uppercase; }
.quick-card p { color: #f0f3f6; font-size: .78rem; line-height: 1.4; margin: 0 0 10px; }
.quick-card a { color: var(--gold); font-size: .67rem; font-weight: 900; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.quick-card a:hover { color: #fff; }

.about-section { padding: 12px 0 6px; }
.about-grid { align-items: center; display: grid; gap: 32px; grid-template-columns: 1fr 1.32fr; }
.about-copy { padding: 20px 12px 20px 18px; }
.about-copy h2 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 2.13rem; letter-spacing: -.03em; line-height: .97; }
.gold-rule { background: var(--gold); height: 2px; margin: 12px 0 14px; width: 44px; }
.about-copy p:not(.eyebrow) { color: #202631; font-size: .84rem; line-height: 1.35; margin: 0 0 14px; max-width: 590px; }
.download-panel { background: linear-gradient(135deg, #07111f, #061b36); color: #fff; padding: 16px 26px 12px; }
.download-heading { align-items: center; display: flex; gap: 17px; }
.download-icon { align-items: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); display: flex; font-size: 1.8rem; height: 46px; justify-content: center; width: 46px; }
.download-panel h2 { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.download-panel p:not(.eyebrow) { font-size: .85rem; line-height: 1.25; margin: 8px 0 9px 64px; }
.download-form { display: grid; gap: 5px; grid-template-columns: 1fr; margin-left: 64px; }
.download-form input { border: 1px solid #d2d5da; font-size: .72rem; padding: 8px 11px; width: 100%; }
.download-form .button { border: 0; cursor: pointer; min-height: 32px; padding: 7px 11px; width: 100%; }

.service-strip { background: #fff; padding: 0 0 4px; }
.service-grid { border: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, 1fr); }
.service-item { border-right: 1px solid var(--border); padding: 9px 17px 8px; text-align: center; }
.service-item:last-child { border-right: 0; }
.service-icon { color: var(--gold); font-size: 1.55rem; font-weight: 900; height: 28px; line-height: 1; }
.service-item h3 { color: var(--ink); font-size: .78rem; letter-spacing: .04em; margin-bottom: 2px; text-transform: uppercase; }
.service-item p { color: #2b3340; font-size: .7rem; line-height: 1.25; margin: 0 auto; max-width: 230px; }

.blog-preview-section { padding: 0 0 6px; }
.blog-preview-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.blog-preview-card { border: 1px solid var(--border); display: grid; grid-template-columns: 48% 52%; min-height: 118px; }
.blog-image { height: 100%; object-fit: cover; width: 100%; }
.blog-copy { padding: 9px 11px; }
.blog-copy h3 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: .97rem; line-height: .95; margin-bottom: 5px; }
.blog-copy h3 a { text-decoration: none; }
.blog-copy p { color: #222a35; font-size: .68rem; line-height: 1.22; margin: 0 0 6px; }
.blog-copy > a { color: var(--gold-deep); font-size: .63rem; font-weight: 900; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }

.affiliate-strip { background: #f5f0e8; border-top: 1px solid var(--border); padding: 9px 0; }
.affiliate-grid { align-items: center; display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; }
.affiliate-brand { padding: 0 18px; }
.affiliate-brand .eyebrow { color: #20242a; font-size: .6rem; margin-bottom: 2px; text-align: center; }
.affiliate-brand-row { align-items: center; display: flex; gap: 12px; justify-content: center; }
.affiliate-brand-row img { height: 55px; object-fit: contain; width: 55px; }
.affiliate-brand-row strong { color: #22252b; font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 400; line-height: .82; text-transform: uppercase; }
.affiliate-brand-row span { font-size: .8rem; letter-spacing: .18em; }
.affiliate-point { align-items: center; border-left: 1px solid #cfc8bc; display: flex; gap: 13px; min-height: 66px; padding: 0 18px; }
.affiliate-icon { color: #191b20; font-size: 2rem; line-height: 1; }
.affiliate-point strong { color: #252931; display: block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.affiliate-point span { color: #333842; display: block; font-size: .68rem; line-height: 1.25; }

.site-footer { background: #07090c; color: #e2e4e8; padding: 11px 0 6px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.25fr 1.2fr .95fr 1.2fr; }
.footer-bh-logo { height: 72px; object-fit: contain; object-position: left center; width: 178px; }
.footer-brand p { color: #c9cdd4; font-size: .68rem; line-height: 1.3; margin: 2px 0 0; max-width: 250px; }
.site-footer h3 { color: #f3f4f5; font-size: .66rem; letter-spacing: .14em; margin: 6px 0 6px; text-transform: uppercase; }
.site-footer ul { columns: 2; list-style: none; margin: 0; padding: 0; }
.site-footer li, .site-footer a { color: #d4d8dd; font-size: .68rem; line-height: 1.55; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-tucker-logo { background: #fff; border-radius: 2px; height: 72px; object-fit: contain; padding: 4px; width: 100px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); display: flex; font-size: .59rem; justify-content: space-between; margin-top: 6px; padding-top: 5px; }

.social-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.social-link { align-items: center; border: 1px solid rgba(215,170,53,.68); border-radius: 999px; color: #f4f5f6 !important; display: inline-flex; font-size: .62rem !important; font-weight: 800; gap: 5px; letter-spacing: .04em; line-height: 1; padding: 6px 8px; text-transform: uppercase; }
.social-link:hover { background: var(--gold); color: #07090c !important; }
.social-link.is-placeholder { opacity: .62; }
.social-link-mark { align-items: center; background: var(--gold); border-radius: 50%; color: #07090c; display: inline-flex; font-size: .56rem; font-weight: 900; height: 18px; justify-content: center; letter-spacing: 0; width: 18px; }

.page-hero { background: var(--cream); border-bottom: 1px solid var(--border); padding: 58px 0 44px; }
.page-hero h1 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.045em; line-height: 1; }
.page-hero p { color: #3d4652; max-width: 760px; }
.content-area { padding: 54px 0; }
.narrow { width: min(calc(100% - 36px), 860px); margin-inline: auto; }
.content-area h2 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; margin: 34px 0 12px; }
.content-area h3 { color: var(--ink); margin: 23px 0 8px; }
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); padding: 22px; }
.card h3 { color: var(--ink); }
.card a { color: var(--gold-deep); }
.feature-list li { margin-bottom: 8px; }
.post-card { border: 1px solid var(--border); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card-content { padding: 16px; }
.article-meta { color: var(--muted); font-size: .78rem; }
.form-note { background: #f7f7f5; border: 1px dashed #aaa; padding: 16px; }

@media (max-width: 1120px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-actions { margin-top: -26px; }
  .affiliate-grid { grid-template-columns: repeat(2, 1fr); }
  .affiliate-point:nth-child(3) { border-left: 0; }
}

@media (max-width: 900px) {
  .topbar-inner { align-items: stretch; flex-direction: column; }
  .topbar-list { gap: 8px; padding: 9px 0; }
  .topbar-cta { align-self: auto; justify-content: center; min-height: 38px; }
  .header-inner { min-height: 76px; }
  .brand-logo, .custom-logo { height: 68px; width: 190px; }
  .menu-toggle { display: block; }
  .primary-nav { background: #030405; display: none; left: 0; padding: 14px 18px 20px; position: absolute; right: 0; top: 100%; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { display: none; }
  .quick-actions { margin-top: 0; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .blog-preview-grid, .footer-grid { grid-template-columns: 1fr; }
  .download-panel { padding: 18px; }
  .download-panel p:not(.eyebrow), .download-form { margin-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2) { border-right: 0; }
  .service-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .site-footer ul { columns: 1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 560px) {
  .topbar-list { align-items: flex-start; flex-direction: column; }
  .hero-copy h1 { font-size: 3.35rem; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 118px; }
  .service-grid, .affiliate-grid { grid-template-columns: 1fr; }
  .service-item { border-bottom: 1px solid var(--border); border-right: 0; }
  .affiliate-point { border-left: 0; border-top: 1px solid #cfc8bc; }
  .blog-preview-card { grid-template-columns: 42% 58%; }
}
