/*
Theme Name: Property Tech Custom
Theme URI: https://propertytech.services
Author: Javier Campiglia
Description: Custom coded theme for Property Tech LLP
Version: 1.0
*/

:root{
  --bg:#070b11;
  --bg2:#0c121b;
  --card:#0f1722;
  --card2:#111c29;
  --muted:#96a7bb;
  --text:#eef4fb;
  --line:rgba(255,255,255,.08);
  --line2:rgba(255,255,255,.12);
  --brand:#4ee0c1;
  --brand2:#4f8cff;
  --danger:#ff6b6b;
  --shadow:0 18px 40px rgba(0,0,0,.35);
  --shadow2:0 24px 70px rgba(0,0,0,.5);
  --radius:20px;
  --radius-sm:14px;
  --max:1180px;
  --contentMax:900px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter, system-ui, -apple-system, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(79,140,255,.18), transparent 55%),
    radial-gradient(1000px 700px at 90% 5%, rgba(78,224,193,.12), transparent 45%),
    linear-gradient(180deg, #081019 0%, #06090f 100%);
  min-height:100vh;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;height:auto}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line2);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:700;
  font-size:14px;
  letter-spacing:.1px;
  transition:.22s ease;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
}

.btn.primary{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#07121a;
  border:none;
  box-shadow:0 14px 32px rgba(79,140,255,.22);
}

.btn.primary:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.btn.ghost{
  background:rgba(255,255,255,.03);
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 13px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  letter-spacing:.2px;
}

.eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:1.6px;
  color:var(--muted);
  text-transform:uppercase;
}

/* Header / Nav */
header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(14px);
  background:rgba(7,11,17,.72);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.logo{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(78,224,193,1), rgba(79,140,255,1));
  box-shadow:var(--shadow);
  position:relative;
  flex:0 0 auto;
}

.logo:after{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:10px;
  background:rgba(7,11,17,.22);
  border:1px solid rgba(255,255,255,.12);
}

/* uploaded header logo */
.site-logo{
  width:18px;
  height:18px;
  min-width:18px;
  max-width:18px;
  object-fit:contain;
  border-radius:4px;
  flex:0 0 18px;
  margin:0;
  padding:0;
}

.brandTop{
  font-size:14px;
  font-weight:900;
  letter-spacing:.5px;
  white-space:nowrap;
}

.brandSub{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

nav a{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
  transition:.18s ease;
}

nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
}

/* Homepage sections */
.hero{
  padding:44px 0 24px;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.14fr .86fr;
  gap:22px;
  align-items:stretch;
}

.heroMain,
.heroSide,
.panel,
.card,
.pageCard{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow:var(--shadow2);
}

.heroMain{
  padding:28px;
  position:relative;
  overflow:hidden;
}

.heroMain:before{
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(79,140,255,.18), transparent 68%);
  pointer-events:none;
}

.heroSide{
  padding:24px;
}

.hero h1{
  margin:14px 0 14px;
  font-size:58px;
  line-height:1.02;
  letter-spacing:-1.8px;
  max-width:11ch;
}

.hero h1 .accent{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.sub{
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
  max-width:62ch;
  margin:0 0 18px;
}

.ctaRow{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:16px;
}

.metaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}

.kpis{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:20px;
}

.kpi{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(7,12,18,.5);
  border-radius:16px;
  padding:16px;
}

.kpi b{
  display:block;
  font-size:22px;
  margin-bottom:5px;
}

.kpi span{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

section{
  padding:26px 0;
}

.secHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.secHead h2{
  margin:0;
  font-size:30px;
  letter-spacing:-.5px;
}

.secHead p{
  margin:0;
  color:var(--muted);
  max-width:64ch;
  line-height:1.6;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.card{
  padding:18px;
  transition:.2s ease;
}

.card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.card h3{
  margin:8px 0 10px;
  font-size:18px;
  font-weight:900;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

.iconDot{
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(78,224,193,.18), rgba(79,140,255,.18));
  border:1px solid rgba(255,255,255,.08);
}

.twoCol{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.panel{
  padding:22px;
}

.panel h3{
  margin:0 0 12px;
  font-size:20px;
  font-weight:900;
}

.list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}

.list li{
  display:flex;
  gap:12px;
  color:var(--muted);
  line-height:1.65;
}

.bullet{
  width:11px;
  height:11px;
  border-radius:999px;
  margin-top:7px;
  flex:0 0 auto;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 0 0 5px rgba(79,140,255,.08);
}

/* Page generator styles */
.pageHero{
  padding:24px 0 8px;
}

.heroInner{
  max-width:var(--contentMax);
}

.pageTitle{
  margin:0;
  font-size:38px;
  line-height:1.04;
  letter-spacing:-1.1px;
  max-width:100%;
  word-break:break-word;
}

.pageSub{
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  max-width:60ch;
  margin:8px 0 0;
}

.contentSection{
  padding:8px 0 30px;
}

.pageCard{
  max-width:var(--contentMax);
  padding:20px;
}

.pageContent{
  color:#d9e4ef;
  line-height:1.65;
  font-size:14px;
  overflow-wrap:anywhere;
  word-wrap:break-word;
}

.pageContent h1,
.pageContent h2,
.pageContent h3,
.pageContent h4{
  color:var(--text);
  line-height:1.16;
  margin:20px 0 8px;
  letter-spacing:-.3px;
}

.pageContent h1{font-size:28px}
.pageContent h2{font-size:22px}
.pageContent h3{font-size:18px}
.pageContent h4{font-size:16px}

.pageContent p{
  margin:0 0 12px;
  color:#d6e1ec;
}

.pageContent ul,
.pageContent ol{
  margin:4px 0 12px 18px;
  color:#d6e1ec;
  padding:0;
}

.pageContent li{
  margin-bottom:4px;
  line-height:1.55;
}

.pageContent a{
  color:var(--brand);
  text-decoration:underline;
}

/* Generator form */
.pt-form{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.pt-form .pt-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.pt-form input,
.pt-form select,
.pt-form textarea{
  background:#111822;
  border:1px solid #222;
  color:white;
  padding:12px;
  border-radius:8px;
  width:100%;
  font:inherit;
}

.pt-form textarea{
  min-height:120px;
  resize:vertical;
}

/* Footer */
footer{
  padding:28px 0 20px;
  border-top:1px solid var(--line);
  margin-top:18px;
  background:rgba(0,0,0,.12);
}

.footerRow{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.footerBrandTop{
  font-weight:900;
  color:var(--text);
  font-size:16px;
  margin-bottom:8px;
}

.footerText{
  color:var(--muted);
  line-height:1.65;
  font-size:13px;
  max-width:620px;
}

.footerLinks{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.footerLinks a{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  padding:7px 9px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}

/* Responsive */
@media (max-width: 940px){
  .heroGrid,
  .cards,
  .twoCol,
  .kpis{
    grid-template-columns:1fr;
  }

  .secHead{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 760px){
  .wrap{
    padding:0 14px;
  }

  .nav{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:10px 0;
  }

  .brand{
    gap:10px;
  }

  .logo{
    width:34px;
    height:34px;
    border-radius:10px;
  }

  .logo:after{
    inset:6px;
    border-radius:8px;
  }

  .site-logo{
    width:16px;
    height:16px;
    min-width:16px;
    max-width:16px;
    border-radius:4px;
  }

  .brandTop{
    font-size:13px;
  }

  .brandSub{
    font-size:11px;
    white-space:normal;
    line-height:1.3;
  }

  nav{
    width:100%;
    justify-content:flex-start;
    gap:8px;
  }

  nav a{
    padding:6px 8px;
    font-size:13px;
  }

  nav .btn{
    min-height:42px;
    padding:10px 14px;
    font-size:13px;
  }

  .hero{
    padding:20px 0 14px;
  }

  .heroMain,
  .heroSide,
  .panel,
  .card,
  .pageCard{
    padding:16px;
    border-radius:16px;
  }

  .hero h1{
    font-size:34px;
    line-height:1.06;
    letter-spacing:-1px;
    max-width:100%;
    margin:10px 0 12px;
  }

  .sub{
    font-size:15px;
    line-height:1.65;
    margin-bottom:14px;
  }

  .pageTitle{
    font-size:31px;
    line-height:1.05;
    letter-spacing:-1px;
  }

  .pageSub{
    font-size:13px;
    line-height:1.55;
    margin-top:7px;
  }

  .contentSection{
    padding:6px 0 24px;
  }

  .pageContent{
    font-size:13px;
    line-height:1.62;
  }

  .pageContent h1{font-size:23px}
  .pageContent h2{font-size:20px}
  .pageContent h3{font-size:17px}
  .pageContent h4{font-size:15px}

  .pt-form .pt-row{
    grid-template-columns:1fr;
  }

  footer{
    padding:22px 0 16px;
    margin-top:16px;
  }
}

/* force-hide any accidental hero image so only the header logo shows */
.hero img{
  display:none !important;
}

/* but keep the actual header logo visible */
.brand .site-logo{
  display:block !important;
}

/* final hard lock so nothing enlarges the header logo */
header .site-logo,
.nav .site-logo,
.brand .site-logo{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  object-fit:contain !important;
  border-radius:4px !important;
  flex:0 0 18px !important;
  margin:0 !important;
  padding:0 !important;
}

@media (max-width:760px){
  header .site-logo,
  .nav .site-logo,
  .brand .site-logo{
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    max-width:16px !important;
  }
}