/* v9 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0f1f38; --navy-mid: #1a3050; --slate: #3d5a80;
  --teal: #1d9e75; --teal-light: #e1f5ee;
  --amber: #ba7517; --amber-light: #faeeda;
  --coral: #d85a30; --coral-light: #faece7;
  --gold: #c9a84c; --off-white: #f4f5f7; --white: #fff;
  --text-dark: #0f1f38; --text-mid: #3d4f65; --text-muted: #7a8fa6;
  --border: rgba(15,31,56,0.1);
  --ai-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --ai-glow: rgba(102,126,234,0.15);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-dark); background: var(--white); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; line-height: 1.1; text-decoration: none; }
.nav-logo .wordmark { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--navy); letter-spacing: -0.3px; }
.nav-logo .tagline { font-size: 9px; font-weight: 300; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 400; color: var(--text-mid); transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--navy) !important; color: var(--white) !important; padding: 9px 22px; border-radius: 6px; font-weight: 500 !important; font-size: 14px !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--navy-mid) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; color: var(--text-mid); transition: color 0.2s; background: none; border: none; font-family: 'DM Sans', sans-serif; padding: 0; }
.nav-dropdown-trigger:hover { color: var(--navy); }
.nav-dropdown-arrow { font-size: 10px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px 0; min-width: 280px; box-shadow: 0 12px 40px rgba(15,31,56,0.12); z-index: 200; margin-top: 0; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; background: transparent; }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; text-decoration: none; font-size: 14px; color: var(--text-mid); transition: background 0.15s; }
.nav-dropdown-menu a:hover { background: var(--off-white); }
.nav-dropdown-menu .dd-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.nav-dropdown-menu .dd-icon.consulting { background: var(--amber-light); }
.nav-dropdown-menu .dd-icon.realestate { background: var(--teal-light); }
.nav-dropdown-menu .dd-icon.investing { background: var(--coral-light); }
.nav-dropdown-menu .dd-label { font-weight: 500; color: var(--navy); font-size: 13px; }
.nav-dropdown-menu .dd-desc { font-size: 11px; color: var(--text-muted); font-weight: 300; }
.nav-dropdown-menu .dd-item-text { display: flex; flex-direction: column; }

.hero { padding: 100px 5% 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: #667eea; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 8px; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #667eea; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.5px; }
.hero h1 em { font-style: italic; color: var(--slate); }
.hero h1 .ai-highlight { background: var(--ai-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.hero p { font-size: 17px; color: var(--text-mid); line-height: 1.75; margin-bottom: 36px; font-weight: 300; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary { background: var(--navy); color: #fff; padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-secondary { background: transparent; color: var(--navy); padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 400; text-decoration: none; border: 1.5px solid var(--border); transition: border-color 0.2s; display: inline-block; }
.btn-secondary:hover { border-color: var(--navy); }
.btn-ai { background: var(--ai-gradient); color: #fff; padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 500; text-decoration: none; transition: opacity 0.2s; display: inline-block; }
.btn-ai:hover { opacity: 0.88; }

.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stat-card { background: var(--off-white); border-radius: 12px; padding: 24px 20px; border: 1px solid var(--border); }
.hero-stat-card:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; background: var(--navy); }
.hero-stat-card:first-child .stat-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.hero-stat-card:first-child .stat-label { font-size: 12px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.hero-stat-card:first-child .stat-val { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; }
.mini-stat-label { font-size: 11px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.mini-stat-val { font-family: 'DM Serif Display', serif; font-size: 30px; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.mini-stat-sub { font-size: 12px; color: var(--text-muted); font-weight: 300; }

.cred-strip { background: var(--navy); padding: 0 5%; }
.cred-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.cred-item { display: flex; align-items: center; gap: 14px; padding: 22px 40px; border-right: 1px solid rgba(255,255,255,0.07); flex: 1; justify-content: center; }
.cred-item:last-child { border-right: none; }
.cred-num { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--gold); line-height: 1; white-space: nowrap; }
.cred-text { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.4; max-width: 150px; }

.divider { height: 1px; background: var(--border); margin: 0 5%; }
section { padding: 90px 5%; }
.inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--navy); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-mid); font-weight: 300; line-height: 1.7; max-width: 560px; }

#brands { background: var(--off-white); }
.brands-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }

.brand-card { background: var(--white); border-radius: 14px; padding: 32px 28px; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.brand-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 14px 14px 0 0; }
.brand-card.consulting::before { background: var(--amber); }
.brand-card.realestate::before { background: var(--teal); }
.brand-card.realty::before { background: var(--teal); }
.brand-card.investing::before { background: var(--coral); }
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15,31,56,0.1); }

.brand-ai-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; background: var(--ai-glow); color: #5a6fd6; }
.brand-ai-badge::before { content: '●'; font-size: 6px; animation: pulse 2s infinite; }

.brand-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.brand-icon.consulting { background: var(--amber-light); }
.brand-icon.realestate { background: var(--teal-light); }
.brand-icon.realty { background: var(--teal-light); }
.brand-icon.investing { background: var(--coral-light); }

.brand-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.brand-badge.licensed { background: var(--teal-light); color: #0f6e56; }
.brand-badge.education { background: var(--amber-light); color: #854f0b; }
.brand-badge.acquisition { background: var(--coral-light); color: #993c1d; }

.brand-name { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.brand-dba { font-size: 11px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.brand-desc { font-size: 15px; color: var(--text-mid); line-height: 1.65; font-weight: 300; margin-bottom: 20px; }

.brand-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.brand-features li { font-size: 13px; color: var(--text-mid); display: flex; gap: 8px; align-items: flex-start; font-weight: 300; line-height: 1.5; }
.brand-features li::before { content: '→'; color: var(--text-muted); flex-shrink: 0; font-weight: 300; }

.brand-link { font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.brand-card.consulting .brand-link { color: var(--amber); }
.brand-card.realestate .brand-link { color: var(--teal); }
.brand-card.realty .brand-link { color: var(--teal); }
.brand-card.investing .brand-link { color: var(--coral); }
.brand-link:hover { gap: 10px; }

#capabilities { background: var(--white); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cap-card { background: var(--off-white); border-radius: 14px; padding: 32px 28px; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15,31,56,0.08); }
.cap-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; background: var(--ai-glow); }
.cap-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.cap-desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; font-weight: 300; margin-bottom: 16px; }
.cap-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cap-list li { font-size: 13px; color: var(--text-mid); display: flex; gap: 8px; align-items: flex-start; font-weight: 300; }
.cap-list li::before { content: '→'; color: #667eea; flex-shrink: 0; font-weight: 500; }

#process { background: var(--off-white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.process-step { text-align: center; padding: 32px 20px; }
.process-num { width: 52px; height: 52px; border-radius: 50%; background: var(--ai-glow); display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 22px; color: #667eea; margin: 0 auto 16px; }
.process-title { font-weight: 500; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.process-desc { font-size: 14px; color: var(--text-mid); font-weight: 300; line-height: 1.6; }

.about-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 80px; align-items: center; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-dot { width: 8px; height: 8px; border-radius: 50%; background: #667eea; flex-shrink: 0; margin-top: 7px; }
.value-title { font-weight: 500; font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.value-text { font-size: 14px; color: var(--text-mid); font-weight: 300; line-height: 1.6; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.about-stat-box { background: var(--off-white); border-radius: 12px; padding: 24px; border: 1px solid var(--border); }
.about-stat-num { font-family: 'DM Serif Display', serif; font-size: 42px; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.about-stat-desc { font-size: 14px; color: var(--text-mid); font-weight: 300; }

.cta-section { background: var(--navy); }
.cta-section .section-title { color: var(--white); }
.cta-section .section-sub { color: rgba(255,255,255,0.6); }
.cta-section .section-label { color: var(--gold); }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cta-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 32px 28px; text-align: center; }
.cta-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 20px; }
.cta-card-icon.consulting { background: var(--amber-light); }
.cta-card-icon.realestate { background: var(--teal-light); }
.cta-card-icon.investing { background: var(--coral-light); }
.cta-card-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; margin-bottom: 10px; }
.cta-card-desc { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 300; line-height: 1.6; margin-bottom: 20px; }
.cta-card .brand-link { color: var(--gold); }

#contact { background: var(--navy); }
#contact .section-title { color: var(--white); }
#contact .section-sub { color: rgba(255,255,255,0.6); }
#contact .section-label { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-row-label { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.contact-row-val { font-size: 15px; color: rgba(255,255,255,0.85); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.form-field input, .form-field select, .form-field textarea { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-size: 15px; color: #fff; outline: none; transition: border-color 0.2s; width: 100%; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-field select option { background: var(--navy); color: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: rgba(255,255,255,0.35); }
.form-field textarea { resize: vertical; min-height: 110px; }
.btn-submit { background: var(--gold); color: var(--navy); border: none; padding: 14px 28px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; transition: opacity 0.2s; width: 100%; margin-top: 4px; }
.btn-submit:hover { opacity: 0.88; }

footer { background: var(--navy-mid); padding: 40px 5%; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; }
.footer-dbas { display: flex; gap: 24px; font-size: 13px; }
.footer-dbas a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-dbas a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px 5%; flex-direction: column; gap: 0; z-index: 99; box-shadow: 0 8px 24px rgba(15,31,56,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; font-size: 16px; font-weight: 400; color: var(--text-mid); padding: 14px 0; border-bottom: 1px solid var(--border); display: block; }
.mobile-menu a:last-child { border-bottom: none; color: var(--teal); font-weight: 500; }
.mobile-menu .mobile-sub { padding-left: 16px; font-size: 14px; }

/* Scroll offset for fixed nav */
#brands, #demos, #process, #about, #shop, #contact { scroll-margin-top: 80px; }

/* Better select on mobile */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Mobile-first responsive breakpoints */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 60px 5% 50px; }
  section { padding: 60px 5%; }
}

@media (max-width: 800px) {
  .hero, .brands-header, .about-grid, .contact-grid, .cap-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .brands-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .cred-strip-inner { flex-direction: column; }
  .cred-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); width: 100%; }
  .cred-item:last-child { border-bottom: none; }
}

/* Mobile contact form improvements */
@media (max-width: 600px) {
  section { padding: 48px 5%; }
  .contact-grid { gap: 32px; }
  .contact-form { gap: 14px; }
  .form-field input, .form-field select, .form-field textarea {
    padding: 14px 16px;
    font-size: 16px;
  }
  .form-field input::placeholder, .form-field textarea::placeholder {
    color: rgba(255,255,255,0.45);
  }
  .form-field select {
    font-size: 16px;
    color: #fff;
  }
  .form-field select option {
    color: #fff;
    background: var(--navy);
  }
  .btn-submit { padding: 16px 28px; font-size: 16px; }
  .brand-card { padding: 24px 20px; }
  .cap-card { padding: 24px 20px; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero p { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { text-align: center; }
  .section-title { font-size: clamp(24px, 6vw, 28px); }
  .section-sub { font-size: 15px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-card { padding: 24px 20px; }
  .cta-grid { gap: 16px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
}

/* Small phones */
@media (max-width: 400px) {
  section { padding: 36px 5%; }
  .hero { padding: 44px 5% 36px; }
  .hero-stat-card { padding: 16px; }
  .brand-card { padding: 20px 16px; }
  .cap-card { padding: 20px 16px; }
}

.brand-card.strategy::before { background: var(--gold); }
.brand-card.strategy .brand-link { color: var(--gold); }
.brand-card.strategy .brand-badge { background: rgba(201,168,76,0.1); color: var(--gold); }
.brand-card.strategy .brand-icon { color: var(--gold); }
.brand-icon.strategy { background: rgba(201,168,76,0.12); }
