/* 
 Theme Name: Honest Investors — One (Velocity)
 Theme URI: https://honestinvestor.ca
 Author: Honest Investors Ltd.
 Author URI: https://honestinvestor.ca
 Description: High-tech, modern one-page theme with Quick Actions, Cities router, contact form, and Velocity/Newton intake integration.
 Version: 1.1.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: honestinvestors-one-velocity
*/

:root{
  --bg:#0b0f14;
  --card:#0f141b;
  --muted:#151b23;
  --text:#e6f0ff;
  --sub:#9db0cc;
  --brand:#6ee7ff;
  --brand2:#c084fc;
  --ok:#34d399;
  --warn:#f59e0b;
  --danger:#ef4444;
  --glass: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.12);
  --radius:18px;
  --radius-lg:24px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(110,231,255,.1), transparent 60%),
    radial-gradient(1000px 700px at 110% -20%, rgba(192,132,252,.08), transparent 50%),
    var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}

.container{width:min(1200px, 92%); margin-inline:auto}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#081018;
  font-weight:700;
  letter-spacing:.2px;
  border:none;
  box-shadow:0 8px 24px rgba(110,231,255,.15);
  transition:transform .2s ease, box-shadow .2s ease;
  cursor:pointer;
}
.btn:active{transform:translateY(1px)}
.btn.secondary{
  background:transparent;
  color:var(--text);
  border:1px solid var(--stroke);
  box-shadow:none;
}

.glass{
  backdrop-filter: blur(8px);
  background:var(--glass);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
}

header.site{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(1.1) blur(8px);
  background:linear-gradient(180deg, rgba(15,20,27,.85), rgba(15,20,27,.6));
  border-bottom:1px solid var(--stroke);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:800;
}
.logo{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#0b0f14;
  box-shadow:0 6px 18px rgba(110,231,255,.25);
}
.nav a{opacity:.9; font-weight:600}
.nav .links{display:flex; gap:22px}

.hero{position:relative; padding:84px 0 60px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
}
.headline{
  font-family:Outfit, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height:1.02;
  letter-spacing:-.5px;
  margin:0 0 14px;
}
.kicker{
  color:var(--brand);
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:13px;
}
.sub{
  color:var(--sub);
  font-size: clamp(15px, 1.4vw, 18px);
}
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  border-radius:999px;
  padding:8px 12px;
  border:1px dashed rgba(110,231,255,.35);
  color:var(--brand);
}

.grid{display:grid; gap:18px}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid.cols-4{grid-template-columns: repeat(4, minmax(0,1fr))}

.card{
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(21,27,35,.9), rgba(11,15,20,.8));
  border:1px solid var(--stroke);
  padding:18px;
}
.card h3{
  margin:6px 0 8px;
  font-family:Outfit, Inter, sans-serif;
}

.feature{display:flex; gap:14px}
.feature .icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(110,231,255,.18), rgba(192,132,252,.18));
  border:1px solid var(--stroke);
}

.tag{
  border:1px solid var(--stroke);
  padding:6px 10px;
  border-radius:999px;
  color:var(--sub);
  font-size:13px;
}

.hero-art{
  position:relative;
  padding:18px;
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.hero-art::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:conic-gradient(from 0deg, rgba(110,231,255,.25), rgba(192,132,252,.2), transparent 30%, transparent 100%);
  filter:blur(20px);
}
.hero-card{
  position:relative;
  border-radius:16px;
  padding:18px;
  background:linear-gradient(180deg, rgba(10,14,20,.9), rgba(8,12,18,.9));
  border:1px solid var(--stroke);
}
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:12px;
}
.metric{
  padding:14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  text-align:center;
}
.metric b{font-size:20px}

.section{padding:56px 0}
.section-title{
  font-family:Outfit, Inter, sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  margin:0 0 10px;
}
.section-sub{color:var(--sub); margin:0 0 18px}

.services .card{display:flex; flex-direction:column; gap:10px}
.services .card .cta{margin-top:auto}

.cities .city{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}
.cities .city a{font-weight:700; color:var(--brand)}

.testimonials .item{
  display:flex;
  gap:14px;
  padding:16px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
}

.contact{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:22px;
}
.form{display:grid; gap:12px}
.input{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:#0c1117;
  color:var(--text);
}

.footer{
  padding:32px 0 60px;
  border-top:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(15,20,27,.6), rgba(11,15,20,.8));
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:24px;
}
.small{color:var(--sub); font-size:14px}

/* Quick Actions */
.quick-tab{
  position:fixed;
  top:50%;
  right:16px;
  translate:0 -50%;
  z-index:60;
}
.quick-btn{
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#081018;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(110,231,255,.25);
}
.drawer{
  position:fixed;
  top:50%;
  right:-360px;
  translate:0 -50%;
  width:320px;
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:16px;
  transition:right .35s ease;
  z-index:59;
  box-shadow:var(--shadow);
}
.drawer.open{right:16px}
.drawer .row{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:12px;
  align-items:center;
  padding:10px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  margin-bottom:10px;
}
.drawer .row:hover{background:rgba(255,255,255,.06)}
.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(110,231,255,.15);
  color:var(--brand);
  border:1px solid rgba(110,231,255,.35);
  font-weight:700;
  font-size:12px;
}

/* Reveal */
[data-reveal]{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease}
[data-reveal].show{opacity:1; transform:none}

/* Responsive */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-4{grid-template-columns:1fr 1fr}
  .contact{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .drawer{width:90vw}
}
@media (max-width:640px){
  .footer-grid{grid-template-columns:1fr}
  .grid.cols-4{grid-template-columns:1fr}
}

/* === ABOUT SECTION === */
.about{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:36px;
  align-items:center;
  padding:20px 0;
}
.about .photo{
  position:relative;
  max-width:320px;
  aspect-ratio:4 / 5;
  margin-inline:auto;
  border-radius:28px;
  overflow:hidden;
  isolation:isolate;
  background:#0f141b;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 28px rgba(0,0,0,.45);
  transition:transform .25s ease, box-shadow .25s ease;
}
.about .photo::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:30px;
  padding:2px;
  background:linear-gradient(135deg,#6ee7ff,#c084fc);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.8;
  animation:sweepGlow 6s linear infinite;
}
@keyframes sweepGlow{
  0%{opacity:.6; transform:rotate(0deg) scale(1)}
  50%{opacity:1; transform:rotate(180deg) scale(1.03)}
  100%{opacity:.6; transform:rotate(360deg) scale(1)}
}
.about .photo::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  pointer-events:none;
  box-shadow:0 0 20px rgba(110,231,255,0.2), 0 0 30px rgba(192,132,252,0.1);
}
.about .photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:50% 20%;
  border-radius:24px;
  transition:transform .3s ease;
}
.about .photo:hover img{transform:scale(1.03);}
.about .copy{
  background:rgba(255,255,255,.04);
  border:1px solid var(--stroke);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(6px);
}
@media (max-width:980px){
  .about{grid-template-columns:1fr; text-align:center;}
  .about .photo{margin:0 auto 14px;}
}

/* Instagram CTA */
.btn.ig{
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color:#fff !important;
  border:none;
  display:inline-flex;
  align-items:center;
  font-weight:600;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:transform .25s ease, box-shadow .25s ease;
}
.btn.ig svg{ color:#fff; }
.btn.ig:hover{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 10px 24px rgba(221,42,123,.4);
}

/* CTA row layout */
.cta-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

/* Mobile tweaks */
@media (max-width:640px){
  .btn.ig svg{ margin-right:0 !important; }
  .btn.ig{ padding:10px; }
  .btn.ig span, .btn.ig::after{ display:none; }
  .cta-row{ flex-direction:column; align-items:stretch; gap:8px; }
  .cta-row .btn{ width:100%; }
}

/* Social pills */
.social-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:9999px;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  background:linear-gradient(90deg,#a855f7,#3b82f6);
  box-shadow:0 4px 14px rgba(59,130,246,0.35);
  transition:all 0.25s ease;
}
.social-pill:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(168,85,247,0.45);
}
.socials svg{display:block;}
.socials span{line-height:1;}
@media (max-width:480px){
  .social-pill span{display:none;}
}
.header-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Fix header logo container */
.brand .logo {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
}

/* Proper logo sizing */
.header-logo-img {
  height: 36px;        /* you can try 32–40px */
  width: auto;
  max-height: 40px;
  object-fit: contain;
  display: block;
}
/* Kill any leftover SVG logo */
.brand .logo svg {
  display: none !important;
}

/* Reset logo container completely */
.brand .logo {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

/* Force image logo to be the only visible mark */
.header-logo-img {
  height: 36px;       /* try 32–40px if needed */
  width: auto;
  max-height: 40px;
  display: block;
  object-fit: contain;
}
/* FORCE header image logo to render */
.brand .logo img.header-logo-img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Safety: only hide SVG, not images */
.brand .logo svg {
  display: none !important;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brandmark {
  height: 36px;
  width: auto;
  max-height: 40px;
  display: block !important;
  object-fit: contain;
}

.brandname {
  display: inline-block;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brandmark {
  height: 36px;
  width: auto;
  max-height: 40px;
  display: block !important;
  object-fit: contain;
}

.brandname {
  display: inline-block;
}
/* ===== FINAL FOOTER OVERRIDE (LOCK IT DOWN) ===== */

/* Footer brand must NOT inherit header brand styles */
.footer .brand,
.footer .brandmark,
.footer .brandname{
  all: unset;
}

/* Rebuild footer brand cleanly */
.footer .footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.footer .footer-logo{
  height:56px;        /* good size */
  width:auto;
  max-width:220px;    /* allow wide logo */
  object-fit:contain;
  display:block;
}

.footer .footer-brand b{
  font-weight:800;
  font-size:18px;
  color:var(--text);
}
/* ===== FOOTER LOGO + TEXT (FINAL) ===== */
.footer .footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}

.footer .footer-logo{
  height:56px;       /* change 50–70 if you want */
  width:auto;
  max-width:220px;
  object-fit:contain;
  display:block;
}

.footer .footer-brand b{
  font-weight:800;
  font-size:18px;
  color:var(--text);
  margin:0;
}

