/*
Theme Name: Hounslow Finance V3.1
Theme URI: https://www.hounslowfinance.co.uk/
Author: Hounslow Finance
Description: Purple premium Hounslow Finance theme with forced custom homepage.
Version: 3.1.0
Text Domain: hounslow-finance
*/

:root{
  --bg:#f8f7fc;
  --surface:#ffffff;
  --surface-2:#f4f2fb;
  --text:#111827;
  --muted:#667085;
  --primary:#4f46e5;
  --primary-hover:#4338ca;
  --primary-soft:#ede9fe;
  --accent:#7c6cf2;
  --border:#e6e8ef;
  --border-strong:#d8dce7;
  --white:#ffffff;
  --radius-card:12px;
  --radius-input:10px;
  --radius-button:9px;
  --shadow:0 10px 28px rgba(17,24,39,.055);
  --shadow-soft:0 6px 18px rgba(17,24,39,.04);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--surface);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:min(1160px,calc(100% - 40px));margin:0 auto}
.narrow{width:min(820px,calc(100% - 40px));margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.nav-wrap{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
}
.brand-mark{
  width:2px;
  height:28px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--primary),var(--accent));
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-text strong{
  font-size:17px;
  font-weight:780;
  letter-spacing:-.03em;
  color:var(--text);
}
.brand-text small{
  margin-top:5px;
  color:#7b8292;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:25px;
  font-size:14px;
  font-weight:600;
  color:#394355;
}
.main-nav a{
  transition:color .18s ease;
}
.main-nav a:hover{color:var(--primary)}
.nav-cta{
  padding:10px 16px;
  border-radius:var(--radius-button);
  background:var(--primary);
  color:#fff!important;
}
.nav-cta:hover{background:var(--primary-hover)}

.menu-toggle{
  display:none;
  border:0;
  background:none;
  padding:6px;
}
.menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  margin:5px 0;
  background:var(--text);
}

.hero{
  padding:92px 0 84px;
  background:linear-gradient(180deg,#fbfaff 0%, #f7f5fc 100%);
  border-bottom:1px solid var(--border);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:76px;
  align-items:center;
}
.eyebrow{
  margin:0 0 15px;
  color:var(--primary);
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.eyebrow.light{color:#cdc9ff}

h1,h2,h3,h4,h5,h6{
  margin-top:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
}
h1{
  margin-bottom:0;
  max-width:760px;
  font-size:clamp(43px,5.5vw,66px);
  line-height:1.02;
  font-weight:790;
  letter-spacing:-.047em;
}
h2{
  margin-bottom:0;
  font-size:clamp(31px,3.8vw,45px);
  line-height:1.08;
  font-weight:760;
  letter-spacing:-.038em;
}
h3{
  font-weight:720;
  letter-spacing:-.02em;
}

.hero-lead{
  margin:25px 0 0;
  max-width:680px;
  color:#5f6878;
  font-size:18px;
  line-height:1.65;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin:31px 0 24px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:47px;
  padding:0 19px;
  border:1px solid transparent;
  border-radius:var(--radius-button);
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--primary);
  color:#fff;
}
.btn-primary:hover{background:var(--primary-hover)}
.btn-secondary{
  background:#fff;
  color:var(--text);
  border-color:var(--border-strong);
}
.btn-secondary:hover{
  background:#fafafa;
  border-color:#c8cfe0;
}
.btn-light{
  background:#fff;
  color:var(--text);
}
.btn-full{width:100%}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  color:#566173;
  font-size:13px;
  font-weight:650;
}
.broker-note{
  margin-top:23px;
  max-width:690px;
  color:#7b8490;
  font-size:12px;
  line-height:1.55;
}
.notice-placeholder{color:#6366f1;font-weight:700}

.hero-card{
  padding:29px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow);
}
.badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 9px;
  border:1px solid #ddd8fb;
  border-radius:7px;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.hero-card h2{
  margin:16px 0 22px;
  font-size:27px;
  letter-spacing:-.03em;
}
.form-stack{display:grid;gap:15px}
label{
  display:grid;
  gap:7px;
  color:#3f4a59;
  font-size:13px;
  font-weight:650;
}
input,select,textarea{
  width:100%;
  min-height:48px;
  padding:0 13px;
  border:1px solid var(--border-strong);
  border-radius:var(--radius-input);
  background:#fff;
  color:var(--text);
  outline:none;
}
textarea{
  min-height:110px;
  padding-top:12px;
  resize:vertical;
}
input:focus,select:focus,textarea:focus{
  border-color:#a7a0f7;
  box-shadow:0 0 0 3px rgba(99,102,241,.12);
}
.form-small{
  margin:0;
  color:#7d8794;
  font-size:11px;
}

.trust-strip{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.trust-strip-inner{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:17px 0;
  text-align:center;
  color:#697484;
  font-size:12px;
  font-weight:650;
}
.trust-strip-inner span+span{border-left:1px solid var(--border)}

.section{padding:94px 0}
.section-soft{
  background:#faf9fe;
  border-top:1px solid #f1effa;
  border-bottom:1px solid #f1effa;
}
.section-heading{
  max-width:760px;
  margin-bottom:44px;
}
.section-heading>p:last-child{
  margin:16px 0 0;
  color:var(--muted);
  font-size:17px;
}

.steps-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.step-card,.project-card{
  padding:24px;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  background:#fff;
}
.step-card .num{
  display:block;
  color:#7c6cf2;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
}
.step-card h3,.project-card h3{
  margin:18px 0 8px;
  font-size:18px;
}
.step-card p,.project-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.project-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.project-card{
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.project-card:hover{
  transform:translateY(-2px);
  border-color:#d7d3ff;
  box-shadow:var(--shadow-soft);
}
.project-icon{
  width:44px;
  height:44px;
  border:1px solid #ddd8fb;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:var(--primary-soft);
  color:var(--primary);
  font-weight:800;
}

.dark-section{
  background:#221f39;
  color:#fff;
}
.dark-section h2,.dark-section h3{color:#fff}
.business-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:72px;
  align-items:center;
}
.business-copy>p:not(.eyebrow){
  color:#d2d0e4;
  font-size:17px;
}
.business-points{
  display:grid;
  gap:10px;
  margin:24px 0 30px;
  color:#eceaf7;
  font-size:14px;
  font-weight:600;
}
.business-card{
  padding:30px;
  background:#fff;
  color:var(--text);
  border-radius:var(--radius-card);
}
.business-card h3{
  margin:13px 0 20px;
  font-size:26px;
}
.business-card form{display:grid;gap:12px}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
}
.about-copy p:last-child{
  color:var(--muted);
  font-size:17px;
}
.feature-list article{
  padding:19px 0;
  border-bottom:1px solid var(--border);
}
.feature-list strong{
  color:#293241;
  font-size:15px;
}
.feature-list p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:14px;
}

.faq-list{border-top:1px solid var(--border)}
details{border-bottom:1px solid var(--border)}
summary{
  cursor:pointer;
  list-style:none;
  padding:20px 2px;
  color:#283241;
  font-size:15px;
  font-weight:700;
}
summary::-webkit-details-marker{display:none}
details p{
  margin:-4px 0 18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.enquiry-section{
  background:#f5f3fb;
  border-top:1px solid var(--border);
}
.enquiry-grid{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:72px;
  align-items:start;
}
.enquiry-copy p:last-child{
  color:var(--muted);
  font-size:17px;
}
.enquiry-form{
  padding:30px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
}
.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}
.consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:19px 0;
  color:#5e6877;
  font-weight:500;
}
.consent input{
  width:18px;
  min-height:18px;
  margin-top:2px;
}
.form-note{
  color:#737e8c;
  font-size:11px;
}

.site-footer{
  padding:62px 0 24px;
  background:#191628;
  color:#cfd2df;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:50px;
}
.footer-brand .brand-mark{
  background:linear-gradient(180deg,#7c6cf2,#4f46e5);
}
.footer-brand .brand-text strong{color:#fff}
.footer-brand .brand-text small{color:#a1a6b8}
.footer-intro{max-width:350px;color:#a0a6b7}
.site-footer h4{
  margin:0 0 14px;
  color:#fff;
  font-size:14px;
}
.site-footer a{
  display:block;
  margin:9px 0;
  color:#c2c8d6;
  font-size:14px;
}
.site-footer a:hover{color:#fff}
.regulatory-box{
  margin-top:44px;
  padding:19px;
  border:1px solid #343145;
  border-radius:10px;
  color:#a3a9b8;
  font-size:12px;
}
.regulatory-box strong{
  display:block;
  margin-bottom:7px;
  color:#dddbff;
}
.regulatory-box p{margin:0}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:24px;
  padding-top:19px;
  border-top:1px solid #312d42;
  color:#8f96a8;
  font-size:12px;
}

.toast{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1200;
  max-width:360px;
  padding:14px 16px;
  background:var(--primary);
  color:#fff;
  border-radius:9px;
  box-shadow:var(--shadow);
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:.2s;
}
.toast.show{
  opacity:1;
  transform:translateY(0);
}

.wp-content-wrap{padding:74px 0}
.wp-content-wrap h1{font-size:44px}
.entry-content{margin-top:28px}

@media (max-width:920px){
  .main-nav{
    position:absolute;
    top:76px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:18px 20px 24px;
    background:#fff;
    border-bottom:1px solid var(--border);
  }
  .main-nav.open{display:flex}
  .menu-toggle{display:block}
  .hero-grid,.business-grid,.about-grid,.enquiry-grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .steps-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .container,.narrow{width:min(100% - 26px,1160px)}
  .section{padding:68px 0}
  .hero{padding:62px 0}
  h1{font-size:42px}
  .hero-lead{font-size:17px}
  .steps-grid,.project-grid,.field-grid,.footer-grid{grid-template-columns:1fr}
  .trust-strip-inner{
    grid-template-columns:1fr;
    gap:8px;
  }
  .trust-strip-inner span+span{border-left:0}
  .footer-bottom{flex-direction:column}
}
