/*
Theme Name: TN Property Group
Theme URI: https://tnpropertygroup.co.uk
Author: TN Property Group
Description: Cash House Buyers — Custom Elementor-compatible WordPress theme for TN Property Group.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: tn-property
Tags: elementor, business, real-estate
*/

:root {
  --gold:        #D8A941;
  --gold-dark:   #b8892e;
  --gold-light:  #f9f0da;
  --black:       #000000;
  --black-soft:  #0a0a0a;
  --black-mid:   #111111;
  --black-card:  #1a1a1a;
  --white:       #ffffff;
  --text:        #ffffff;
  --text-dark:   #111111;
  --muted:       #aaaaaa;
  --border:      #2a2a2a;
  --border-light:#e0e0e0;
  --r-sm:        8px;
  --r-md:        16px;
  --r-lg:        24px;
  --r-xl:        50px;
  --font:        'Figtree', 'Helvetica Neue', sans-serif;
  --transition:  0.2s ease;
}

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

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 12px 26px; border-radius: var(--r-xl); font-weight: 700; font-size: .92rem; cursor: pointer; border: 2px solid transparent; text-align: center; transition: all var(--transition); font-family: var(--font); }
.btn-green { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-green:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(216,169,65,.4); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: #000; }
.btn-outline-green { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-green:hover { background: var(--gold); color: var(--black); }
.btn-full { width: 100%; display: block; }

/* ── LAYOUT ── */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-grey { background: var(--black-mid); }
.section-white { background: var(--black-soft); }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: clamp(1.7rem,4vw,2.4rem); font-weight: 900; line-height: 1.12; margin-bottom: 10px; color: #fff; }
.sec-title p { font-size: .92rem; color: var(--muted); max-width: 500px; margin: 0 auto; line-height: 1.65; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 1px solid var(--border); padding: 0 32px; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(216,169,65,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; max-width: 1100px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; color: var(--gold); }
.logo img { height: 44px; width: auto; }
.logo-text { color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-phone { font-weight: 700; font-size: .92rem; color: var(--gold); }
.header-phone:hover { color: var(--gold-dark); }
.header-blog { font-weight: 600; font-size: .88rem; color: rgba(255,255,255,.7); }
.header-blog:hover { color: var(--gold); }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.mob-nav { display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0; background: var(--black); z-index: 99; padding: 28px 24px; overflow-y: auto; border-top: 1px solid var(--border); }
.mob-nav.open { display: block; }
.mob-nav a { display: block; padding: 14px 0; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--border); color: rgba(255,255,255,.8); }
.mob-nav a:hover { color: var(--gold); }

/* ── HERO ── */
.hero { background: var(--black); color: #fff; padding: 72px 24px 80px; text-align: center; }
.hero-badge { display: inline-block; background: rgba(216,169,65,.12); border: 1px solid rgba(216,169,65,.35); color: var(--gold); padding: 6px 18px; border-radius: var(--r-xl); font-size: .8rem; font-weight: 600; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2rem,5.5vw,3.2rem); font-weight: 900; line-height: 1.08; margin-bottom: 20px; max-width: 680px; margin-left: auto; margin-right: auto; color: #fff; }
.hero-sub { font-size: .97rem; color: rgba(255,255,255,.68); max-width: 500px; margin: 0 auto 34px; line-height: 1.68; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.hero-note { font-size: .8rem; color: rgba(255,255,255,.42); margin-bottom: 28px; }
.trust-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(216,169,65,.08); border: 1px solid rgba(216,169,65,.25); border-radius: var(--r-xl); padding: 10px 20px; font-size: .82rem; color: rgba(255,255,255,.8); max-width: 520px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── FEATURE STRIP ── */
.feat-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--border); }
.feat-strip-item { padding: 28px 24px; display: flex; align-items: flex-start; gap: 14px; border-right: 1px solid var(--border); }
.feat-strip-item:last-child { border-right: none; }
.feat-icon { width: 38px; height: 38px; border-radius: var(--r-sm); background: rgba(216,169,65,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.feat-title { font-weight: 700; font-size: .9rem; margin-bottom: 3px; color: #fff; }
.feat-text { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--black); font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step-title { font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: #fff; }
.step-text { font-size: .84rem; color: var(--muted); line-height: 1.55; }

/* ── TWO-COL INFO ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-lead { font-weight: 700; font-size: .98rem; margin-bottom: 12px; color: #fff; }
.info-body { font-size: .9rem; color: var(--muted); line-height: 1.68; margin-bottom: 10px; }
.info-subhead { font-weight: 800; font-size: 1rem; margin: 22px 0 12px; color: #fff; }

/* Situation cards */
.sit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sit-card { background: var(--black-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; }
.sit-title { font-weight: 700; font-size: .9rem; margin-bottom: 4px; color: #fff; }
.sit-text { font-size: .83rem; color: var(--muted); line-height: 1.5; }

/* Check list */
.check-list { display: flex; flex-direction: column; gap: 0; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.check-item:last-child { border-bottom: none; }
.tick { color: var(--gold); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.check-title { font-weight: 700; font-size: .9rem; color: #fff; }
.check-text { font-size: .82rem; color: var(--muted); }
.check-note { font-size: .82rem; color: var(--muted); margin-top: 14px; font-style: italic; }

/* ── MARKET ── */
.market-box { background: rgba(216,169,65,.07); border: 1px solid rgba(216,169,65,.2); border-radius: var(--r-lg); padding: 28px 24px; }
.market-box p { font-size: .9rem; line-height: 1.68; margin-bottom: 20px; color: rgba(255,255,255,.85); }
.dot-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.dot-item { display: flex; gap: 10px; align-items: flex-start; }
.dot-item .dot { margin-top: 4px; }
.dot-title { font-weight: 700; font-size: .88rem; color: #fff; }
.dot-text { font-size: .8rem; color: var(--muted); }

/* ── AREAS ── */
.areas-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.area-btn { background: var(--black-card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 14px 10px; text-align: center; font-weight: 700; font-size: .88rem; cursor: pointer; transition: all var(--transition); color: rgba(255,255,255,.8); display: block; }
.area-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.areas-more { text-align: center; margin-top: 24px; }

/* ── SOURCER ── */
.sourcer-box { background: var(--black-card); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r-md); padding: 28px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sourcer-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.sourcer-text { font-size: .88rem; color: var(--muted); line-height: 1.55; max-width: 540px; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.testi { background: var(--black-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px 22px; }
.testi-quote { font-style: italic; font-size: .9rem; line-height: 1.68; margin-bottom: 14px; color: rgba(255,255,255,.85); }
.testi-author { font-weight: 700; color: var(--gold); font-size: .9rem; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; font-size: .97rem; cursor: pointer; gap: 10px; user-select: none; color: #fff; }
.faq-icon { color: var(--gold); font-size: 1.4rem; flex-shrink: 0; transition: transform .2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 16px; font-size: .88rem; color: var(--muted); line-height: 1.62; }
.faq-item.open .faq-a { display: block; }

/* ── OFFER / FORM ── */
.offer-section { background: var(--black); color: #fff; padding: 72px 24px; border-top: 1px solid var(--border); }
.offer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; max-width: 960px; margin: 0 auto; }
.offer-title { font-size: clamp(1.6rem,3.5vw,2.2rem); font-weight: 900; margin-bottom: 14px; color: #fff; }
.offer-sub { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 28px; line-height: 1.65; }
.cinfo-row { margin-bottom: 14px; }
.cinfo-label { font-weight: 700; font-size: .84rem; margin-bottom: 2px; color: rgba(255,255,255,.6); }
.cinfo-val { color: var(--gold); font-size: .9rem; }
.cinfo-val a { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(216,169,65,.12); border: 1px solid rgba(216,169,65,.3); display: flex; align-items: center; justify-content: center; color: var(--gold); cursor: pointer; transition: background .2s; }
.social-btn:hover { background: rgba(216,169,65,.25); }

/* Form card */
.form-card { background: #fff; border-radius: var(--r-lg); padding: 30px 26px; color: var(--text-dark); }
.form-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; color: var(--text-dark); }
.form-sub { font-size: .82rem; color: #666; margin-bottom: 20px; line-height: 1.5; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 5px; color: var(--text-dark); }
.field input, .field textarea { width: 100%; padding: 10px 13px; border: 1.5px solid #e0e0e0; border-radius: var(--r-sm); font-size: .9rem; font-family: var(--font); color: var(--text-dark); background: #fff; outline: none; transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #bbb; }
.field textarea { height: 100px; resize: vertical; }
.form-note { font-size: .75rem; color: #888; margin-top: 10px; line-height: 1.5; }
.form-note a { color: var(--gold); }
.form-msg { display: none; margin-top: 12px; padding: 11px 14px; border-radius: 8px; font-size: .86rem; }

/* ── FOOTER ── */
.site-footer { background: var(--black); color: #fff; padding: 52px 24px 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 960px; margin: 0 auto 36px; }
.footer-brand { font-weight: 800; font-size: 1rem; margin-bottom: 4px; color: var(--gold); }
.footer-tag { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer-contact { font-size: .82rem; color: rgba(255,255,255,.62); line-height: 1.9; }
.footer-contact strong { color: rgba(255,255,255,.85); }
.footer-contact a { color: var(--gold); }
.footer-blurb { font-size: .8rem; color: rgba(255,255,255,.38); line-height: 1.6; margin-top: 12px; }
.footer-links-title { font-weight: 700; font-size: .78rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-reg { max-width: 960px; margin: 20px auto 0; border-top: 1px solid var(--border); padding-top: 18px; font-size: .75rem; color: rgba(255,255,255,.26); line-height: 1.9; }
.footer-reg strong { color: rgba(255,255,255,.42); display: block; margin-bottom: 2px; }

/* ── BLOG ── */
.blog-card { background: var(--black-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(216,169,65,.15); border-color: rgba(216,169,65,.3); }
.blog-img-label { background: var(--gold) !important; color: var(--black) !important; }
.blog-read { color: var(--gold) !important; }
.blog-title { color: #fff !important; }
.blog-meta { color: var(--muted) !important; }
.blog-excerpt { color: var(--muted) !important; }

/* ── SINGLE POST ── */
.tnp-post-content h2 { border-left-color: var(--gold) !important; color: #fff; }
.tnp-post-content h3 { color: #fff; }
.tnp-post-content p { color: rgba(255,255,255,.8); }
.tnp-post-content li { color: rgba(255,255,255,.8); }
.tnp-post-content a { color: var(--gold); }
.tnp-post-content th { background: var(--black-card) !important; color: #fff; }
.tnp-post-content td { border-bottom-color: var(--border) !important; color: rgba(255,255,255,.75); }
.tnp-post-content blockquote { background: rgba(216,169,65,.07) !important; border-left-color: var(--gold) !important; color: rgba(255,255,255,.8); }
.quick-answer { border-left-color: var(--gold) !important; background: rgba(216,169,65,.07) !important; }
.quick-answer p { color: rgba(255,255,255,.8) !important; }
.what-adds { background: rgba(216,169,65,.07) !important; border-left-color: var(--gold) !important; }
.what-adds li { color: rgba(255,255,255,.8) !important; }
.cta-block { background: var(--black-card) !important; border: 1px solid var(--border); }
.cta-block h3 { color: #fff !important; }
.cta-block p { color: var(--muted) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3,1fr); }
  .dot-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 700px) {
  .feat-strip { grid-template-columns: 1fr; }
  .feat-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .sit-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .offer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sourcer-box { flex-direction: column; align-items: flex-start; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .header-phone, .header-blog { display: none; }
}
.admin-bar .site-header { top: 32px; }

/* ── FORM CARD — black background ── */
.form-card {
  background: #111 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: var(--r-lg);
  padding: 30px 26px;
  color: #fff !important;
}
.form-card .form-title { color: #fff !important; }
.form-card .form-sub { color: #aaa !important; }
.form-card .field label { color: rgba(255,255,255,.8) !important; }
.form-card .field input,
.form-card .field textarea {
  background: #1a1a1a !important;
  border-color: #2a2a2a !important;
  color: #fff !important;
}
.form-card .field input:focus,
.form-card .field textarea:focus { border-color: var(--gold) !important; }
.form-card .field input::placeholder,
.form-card .field textarea::placeholder { color: #555 !important; }
.form-card .form-note { color: #666 !important; }
.form-card .form-note a { color: var(--gold) !important; }
