/*
Theme Name: Disposition Partners
Theme URI: https://dispositionpartners.com
Author: WFPX Communications & Publishing, LLC
Author URI: https://wfpx.com
Description: A premium national disposition and buyer-matching platform theme for DispositionPartners.com. Built for Elementor Pro with a deep navy/teal design system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://dispositionpartners.com
Text Domain: disposition-partners
Tags: elementor, real-estate, landing-page, custom-colors, custom-typography
*/

/* ─── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --dp-navy:      #0A2540;
  --dp-navy-mid:  #0F2D4A;
  --dp-teal:      #0D9488;
  --dp-teal-lt:   #14B8A6;
  --dp-teal-pale: #E6FAF8;
  --dp-white:     #FFFFFF;
  --dp-slate:     #F8FAFC;
  --dp-slate2:    #EFF4F9;
  --dp-text:      #1E293B;
  --dp-muted:     #64748B;
  --dp-border:    #CBD5E1;
  --dp-gold:      #F59E0B;
  --dp-radius:    10px;
  --dp-radius-lg: 18px;
  --dp-shadow:    0 4px 24px rgba(10,37,64,.10);
  --dp-shadow-lg: 0 12px 40px rgba(10,37,64,.16);
}

/* ─── BASE RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dp-text);
  background: var(--dp-white);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  line-height: 1.15;
  color: var(--dp-navy);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 24px; font-family: 'Inter', system-ui, sans-serif; font-weight: 700; }
h4 { font-size: 18px; font-family: 'Inter', system-ui, sans-serif; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.dp-lead {
  font-size: 18px;
  color: var(--dp-muted);
  line-height: 1.7;
}

.dp-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dp-teal);
  margin-bottom: 12px;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.dp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.dp-section     { padding: 96px 0; }
.dp-section-sm  { padding: 64px 0; }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.dp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--dp-radius);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.dp-btn-primary {
  background: var(--dp-teal);
  color: var(--dp-white);
  border-color: var(--dp-teal);
}
.dp-btn-primary:hover {
  background: var(--dp-teal-lt);
  border-color: var(--dp-teal-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.35);
  color: var(--dp-white);
}

.dp-btn-outline {
  background: transparent;
  color: var(--dp-white);
  border-color: rgba(255,255,255,.5);
}
.dp-btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--dp-white);
}

.dp-btn-navy {
  background: var(--dp-navy);
  color: var(--dp-white);
  border-color: var(--dp-navy);
}
.dp-btn-navy:hover {
  background: var(--dp-navy-mid);
  transform: translateY(-1px);
  color: var(--dp-white);
}

.dp-btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 12px; }
.dp-btn-sm { padding: 10px 20px; font-size: 13px; }

/* ─── HEADER / NAV ───────────────────────────────────────────────── */
.site-header,
#dp-header {
  background: rgba(10,37,64,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.dp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.dp-logo-mark {
  width: 36px; height: 36px;
  background: var(--dp-teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--dp-white);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.dp-logo-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--dp-white);
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

.dp-logo-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
}

/* Elementor menu overrides */
.dp-nav-inner .elementor-nav-menu a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.dp-nav-inner .elementor-nav-menu a:hover { color: var(--dp-white); }

/* ─── HERO ───────────────────────────────────────────────────────── */
.dp-hero {
  background: linear-gradient(135deg, var(--dp-navy) 0%, #0A3558 55%, #0D4A5E 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
}

.dp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.6) 30%, rgba(0,0,0,.6) 70%, transparent);
  pointer-events: none;
}

.dp-hero-glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 40%, rgba(13,148,136,.18) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(13,148,136,.10) 0%, transparent 45%);
  pointer-events: none;
}

.dp-hero h1 { color: var(--dp-white); }
.dp-hero h1 em { font-style: italic; color: var(--dp-teal-lt); }

.dp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dp-teal-lt);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.dp-hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

.dp-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.10);
  flex-wrap: wrap;
}

.dp-stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--dp-white);
  line-height: 1;
}

.dp-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

/* ─── TRUST BAR ──────────────────────────────────────────────────── */
.dp-trust-bar {
  background: var(--dp-slate2);
  border-bottom: 1px solid var(--dp-border);
  padding: 18px 0;
}

.dp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dp-navy);
  border-right: 1px solid var(--dp-border);
  font-family: 'Inter', sans-serif;
}

.dp-trust-item:last-child { border-right: none; }

/* ─── SERVICE CARDS ──────────────────────────────────────────────── */
.dp-service-card {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius-lg);
  padding: 32px 28px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.dp-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dp-teal), var(--dp-teal-lt));
  opacity: 0;
  transition: opacity .25s;
}

.dp-service-card:hover {
  box-shadow: var(--dp-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--dp-teal);
}

.dp-service-card:hover::before { opacity: 1; }

.dp-service-icon {
  width: 52px; height: 52px;
  background: var(--dp-teal-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* ─── WHY US DARK SECTION ────────────────────────────────────────── */
.dp-dark-section { background: var(--dp-navy); }
.dp-dark-section h2 { color: var(--dp-white); }
.dp-dark-section .dp-label { color: var(--dp-teal-lt); }

.dp-why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dp-why-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--dp-teal-lt);
  font-family: 'DM Serif Display', serif;
}

.dp-why-item h4 { color: var(--dp-white); margin-bottom: 6px; }
.dp-why-item p  { font-size: 14px; color: rgba(255,255,255,.6); }

/* ─── STEPS / HOW IT WORKS ───────────────────────────────────────── */
.dp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.dp-step-bubble {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--dp-white);
  border: 3px solid var(--dp-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background .2s;
}

.dp-step:hover .dp-step-bubble { background: var(--dp-teal-pale); }

/* ─── TESTIMONIALS ───────────────────────────────────────────────── */
.dp-testi-card {
  background: var(--dp-slate);
  border-radius: var(--dp-radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--dp-border);
}

.dp-stars { color: var(--dp-gold); font-size: 15px; margin-bottom: 16px; letter-spacing: 2px; }

.dp-testi-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dp-text);
  font-style: italic;
  margin: 0 0 24px;
  padding: 0;
  border: none;
}

/* ─── CTA SECTION ────────────────────────────────────────────────── */
.dp-cta-section {
  background: linear-gradient(135deg, var(--dp-teal) 0%, #0A7A70 100%);
  position: relative;
  overflow: hidden;
}

.dp-cta-section h2 { color: var(--dp-white); }

/* ─── FORMS ──────────────────────────────────────────────────────── */
.dp-form-wrap {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--dp-radius-lg);
  padding: 36px;
}

.dp-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dp-white);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

/* Elementor Form overrides for teal CTA section */
.dp-cta-section .elementor-field-group .elementor-field {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  color: var(--dp-white) !important;
  border-radius: var(--dp-radius) !important;
}

.dp-cta-section .elementor-field-group .elementor-field::placeholder {
  color: rgba(255,255,255,.55) !important;
}

.dp-cta-section .elementor-field-group .elementor-field:focus {
  border-color: rgba(255,255,255,.7) !important;
  background: rgba(255,255,255,.18) !important;
}

.dp-cta-section .elementor-button {
  background: var(--dp-white) !important;
  color: var(--dp-teal) !important;
  font-weight: 700 !important;
  border-radius: var(--dp-radius) !important;
}

.dp-cta-section .elementor-button:hover {
  background: var(--dp-navy) !important;
  color: var(--dp-white) !important;
}

/* ─── FAQ ACCORDION ──────────────────────────────────────────────── */
.dp-faq-item {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  overflow: hidden;
  margin-bottom: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.dp-footer {
  background: var(--dp-navy);
  color: rgba(255,255,255,.65);
  padding: 72px 0 32px;
}

.dp-footer a {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: color .15s;
}

.dp-footer a:hover { color: var(--dp-teal-lt); }

.dp-footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dp-white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.dp-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────────── */
.dp-page-hero {
  background: var(--dp-navy);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dp-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(13,148,136,.15) 0%, transparent 60%);
  pointer-events: none;
}

.dp-page-hero h1,
.dp-page-hero h2 { color: var(--dp-white); position: relative; z-index: 1; }
.dp-page-hero p   { color: rgba(255,255,255,.65); position: relative; z-index: 1; }

/* ─── SERVICE DETAIL PANELS ──────────────────────────────────────── */
.dp-service-visual {
  background: linear-gradient(135deg, var(--dp-navy) 0%, var(--dp-navy-mid) 100%);
  border-radius: var(--dp-radius-lg);
  padding: 48px 40px;
  color: var(--dp-white);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dp-service-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(13,148,136,.2) 0%, transparent 60%);
  pointer-events: none;
}

.dp-visual-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--dp-white);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}

.dp-visual-sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  position: relative; z-index: 1;
  font-family: 'Inter', sans-serif;
}

/* ─── BUYER CHIPS ────────────────────────────────────────────────── */
.dp-buyer-chip {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  padding: 16px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dp-navy);
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}

.dp-buyer-chip:hover {
  border-color: var(--dp-teal);
  background: var(--dp-teal-pale);
  color: var(--dp-teal);
}

/* ─── ELEMENTOR OVERRIDES ────────────────────────────────────────── */
.elementor-widget-heading .elementor-heading-title { line-height: inherit; }

/* Fix Elementor column gaps on mobile */
@media (max-width: 767px) {
  .elementor-column-gap-default .elementor-row { margin: 0; }
  .dp-hero { padding: 72px 0 88px; }
  .dp-hero-stats { gap: 28px; }
}

/* ─── ACCESSIBILITY ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--dp-teal);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ─── UTILITY HELPERS ────────────────────────────────────────────── */
.dp-text-white  { color: var(--dp-white) !important; }
.dp-text-teal   { color: var(--dp-teal)  !important; }
.dp-text-muted  { color: var(--dp-muted) !important; }
.dp-bg-navy     { background: var(--dp-navy)  !important; }
.dp-bg-teal     { background: var(--dp-teal)  !important; }
.dp-bg-slate    { background: var(--dp-slate) !important; }
.dp-centered    { text-align: center; }
.dp-mt-0        { margin-top: 0 !important; }
.dp-mb-0        { margin-bottom: 0 !important; }
