/* =========================================================
   NAIROBI HOUSE SITTERS
   Main custom stylesheet
   Bootstrap 5.3 is loaded separately in includes/header.php
   ========================================================= */

:root{
  --navy:#0c2138;
  --navy-2:#173b5b;
  --navy-3:#091727;
  --gold:#c99b45;
  --gold-light:#e1bb70;
  --cream:#f6f3ed;
  --ink:#182536;
  --muted:#667386;
  --border:#e4e1d9;
  --white:#fff;
  --success:#67d492;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.7;
}
img{max-width:100%;height:auto}
a{text-decoration:none}
h1,h2,h3,h4,h5,h6{
  color:var(--navy);
  font-weight:750;
  letter-spacing:-.025em;
}
h1{font-size:clamp(2.7rem,5vw,5rem);line-height:1.02}
h2{font-size:clamp(2rem,3.5vw,3.25rem);line-height:1.12}
h3{font-size:1.25rem;line-height:1.25}

/* ---------- NAVIGATION ---------- */
.site-nav{
  background:rgba(9,23,39,.97)!important;
  min-height:76px;
  padding:12px 0;
  box-shadow:0 8px 30px rgba(0,0,0,.12);
  z-index:1030;
}
.site-nav .navbar-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff!important;
  font-size:1.02rem;
  letter-spacing:.01em;
}
.site-nav .navbar-brand strong{font-weight:800}
.brand-mark{
  width:40px;height:40px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.3);
  border-radius:10px;
  color:#e5bd6b;
  font-size:.85rem;
  font-weight:850;
}
.site-nav .nav-link{
  color:rgba(255,255,255,.76)!important;
  font-weight:600;
  padding:.6rem .7rem!important;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active{color:#fff!important}
.site-nav .nav-cta{
  color:#12243a!important;
  background:var(--gold);
  border-color:var(--gold);
  font-weight:750;
  border-radius:8px;
}
.site-nav .nav-cta:hover{background:#e0b55f;border-color:#e0b55f}
.site-nav .navbar-toggler{
  border-color:rgba(255,255,255,.3);
}
.site-nav .navbar-toggler-icon{
  filter:brightness(0) invert(1);
}

/* ---------- GLOBAL ---------- */
main{overflow:hidden}
.section{padding:100px 0}
.section-light{background:#fff}
.section-soft{background:var(--cream)}
.section-heading{max-width:780px}
.section-heading p{color:var(--muted);font-size:1.05rem}
.eyebrow{
  display:inline-block;
  margin-bottom:14px;
  color:var(--gold-light);
  font-size:.74rem;
  font-weight:850;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.eyebrow.dark{color:#99722e}
.btn-primary{
  background:var(--gold);
  border-color:var(--gold);
  color:#12243a;
  font-weight:750;
}
.btn-primary:hover{
  background:#b98837;
  border-color:#b98837;
  color:#fff;
}

/* ---------- HERO ---------- */
.hero{
  color:#fff;
  padding:175px 0 100px;
  position:relative;
}
.hero-home{
  min-height:735px;
  display:flex;
  align-items:center;
  background:var(--navy-3);
}
.hero-image-layer{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(7,20,35,.97) 0%,rgba(7,20,35,.88) 38%,rgba(7,20,35,.55) 70%,rgba(7,20,35,.35) 100%),
    url('../images/hero-home.svg') center right/cover no-repeat;
}
.hero-home .container{position:relative;z-index:2}
.hero h1{color:#fff;margin:0 0 22px;max-width:780px}
.hero h1 span{color:var(--gold-light)}
.hero-copy{
  max-width:720px;
  margin:0 0 28px;
  color:rgba(255,255,255,.78);
  font-size:1.12rem;
}
.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:rgba(255,255,255,.78);
  font-size:.88rem;
}
.hero-card{
  background:rgba(8,25,43,.86);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:22px;
  padding:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  backdrop-filter:blur(12px);
}
.hero-card small{
  color:#b8c8d8;
  font-size:.7rem;
  letter-spacing:.13em;
}
.hero-card h3{color:#fff;margin:20px 0 2px}
.verified-pill{
  color:#72d99a;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.1em;
}
.report-time{font-size:1.8rem;font-weight:800}
.report-time span{font-size:.75rem;color:#9fb0c2;font-weight:500}
.report-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
  color:#c6d2de;
}
.report-row strong{color:#fff}
.report-photo{
  margin-top:17px;
  padding:11px 13px;
  background:rgba(255,255,255,.08);
  border-radius:9px;
}
.trust-strip{
  background:#fff;
  border-bottom:1px solid var(--border);
  padding:22px 0;
  color:#586577;
  font-size:.87rem;
}
.trust-strip strong{color:var(--navy);font-size:1rem}
.trust-strip .row>div:not(:first-child){
  border-left:1px solid #e1dfd8;
  padding-left:25px;
}

/* ---------- CARDS ---------- */
.feature-card,.protect-card,.home-service-card,.how-card,.audience-card,.audience-modern,.trust-card,.service-card,.price-card,.package-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
}
.feature-card,.protect-card,.home-service-card,.audience-card,.audience-modern,.trust-card,.service-card{
  transition:transform .22s ease,box-shadow .22s ease;
}
.feature-card:hover,.protect-card:hover,.home-service-card:hover,.audience-card:hover,.audience-modern:hover,.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(16,35,63,.08);
}
.feature-card{padding:28px}
.feature-card p,.protect-card p,.home-service-card p,.how-card p,.audience-modern p,.service-card p{color:var(--muted);font-size:.94rem}
.icon-box{font-size:1.8rem;margin-bottom:18px}
.protect-card{height:100%;padding:30px}
.protect-icon{font-size:2rem;margin-bottom:15px}
.home-service-card{height:100%;padding:30px}
.service-no{
  color:#9a722d;
  font-size:.7rem;
  font-weight:850;
  letter-spacing:.14em;
}
.home-service-card h3{margin:12px 0 8px}
.home-service-card a,.service-card a,.price-card a{
  color:#8d682c;
  font-weight:750;
}
.how-card{height:100%;padding:28px 26px}
.how-number{
  width:48px;height:48px;
  display:grid;place-items:center;
  margin-bottom:20px;
  border-radius:50%;
  background:var(--navy);
  color:#e3ba62;
  font-size:.78rem;
  font-weight:850;
}
.audience-modern{
  height:100%;
  display:flex;
  gap:18px;
  padding:25px;
}
.audience-icon{
  width:50px;height:50px;flex:0 0 50px;
  display:grid;place-items:center;
  background:#f3ead8;
  border-radius:14px;
  font-size:1.3rem;
}
.audience-modern h3{margin:2px 0 5px;font-size:1.08rem}
.audience-modern p{margin:0}
.trust-card{height:100%;padding:25px;background:var(--cream)}
.trust-card strong{display:block;margin-bottom:6px}

/* ---------- TECHNOLOGY / PORTAL ---------- */
.technology-section{background:#f1eee7}
.tech-list{display:grid;gap:15px;margin-top:30px}
.tech-list>div{display:grid;grid-template-columns:32px 1fr;column-gap:10px}
.tech-list span{grid-row:span 2;color:#9a722d;font-weight:900}
.tech-list strong{font-size:.98rem}
.tech-list small{color:var(--muted)}
.portal-preview{
  background:var(--navy);
  color:#fff;
  border-radius:20px;
  padding:25px;
  box-shadow:0 25px 60px rgba(16,35,63,.18);
}
.portal-top{display:flex;justify-content:space-between;font-size:.7rem;letter-spacing:.12em;color:#b9c6d5}
.online{color:#73d79a}
.portal-title{display:flex;justify-content:space-between;align-items:end;margin:22px 0 14px}
.portal-title strong{font-size:1.1rem;color:#fff}
.portal-title span{font-size:.68rem;color:#91a5b9}
.portal-status{
  display:flex;gap:14px;align-items:center;
  padding:16px;
  border-radius:12px;
  background:rgba(107,216,148,.09);
  border:1px solid rgba(107,216,148,.2);
}
.status-check{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#63d68d;
  color:#10233f;
  font-weight:900;
}
.portal-status strong{color:#fff}
.portal-status small{display:block;color:#9fb0c3}
.portal-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:20px 0;
}
.portal-stat-grid>div{
  background:rgba(255,255,255,.08);
  padding:17px;
  border-radius:11px;
}
.portal-stat-grid small{display:block;color:#9fb0c3;font-size:.65rem}
.portal-stat-grid strong{display:block;margin-top:4px;color:#fff}
.good{color:#75d89a!important}
.portal-activity>div{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.1);
  font-size:.82rem;
}
.portal-activity time{color:#91a5b9}

/* ---------- PACKAGES ---------- */
.price-card,.package-card{height:100%;padding:28px}
.price-card.featured,.package-card.featured{
  border:2px solid var(--gold);
  box-shadow:0 15px 40px rgba(201,155,69,.12);
}
.package{
  color:#9a722d;
  font-size:.7rem;
  font-weight:850;
  letter-spacing:.16em;
}
.price{font-size:1.4rem;font-weight:850;margin:18px 0}
.price small{font-size:.75rem;font-weight:500;color:var(--muted)}
.price-card p{color:var(--muted);min-height:75px}
.package-price{font-size:1.35rem;font-weight:850;margin:18px 0}
.package-card ul{list-style:none;padding:0;color:#657080;min-height:145px}
.package-card li{margin:7px 0}
.pricing-note{
  background:var(--cream);
  border-left:4px solid var(--gold);
  padding:20px 24px;
}

/* ---------- INNER HERO ---------- */
.inner-hero{
  background:linear-gradient(110deg,#10233f,#1c466a);
  color:#fff;
  padding:165px 0 90px;
}
.inner-hero h1{color:#fff}
.inner-hero h1 span{color:#e1b65d}
.inner-hero p{color:#c7d3df;max-width:680px;font-size:1.08rem;margin-top:18px}

/* ---------- ABOUT / STEPS ---------- */
.about-panel{background:var(--cream);padding:40px;border-radius:22px}
.big-number{font-size:.72rem;letter-spacing:.15em;color:#9a722d;font-weight:850;margin-top:15px}
.steps{max-width:900px;margin:auto}
.step{display:grid;grid-template-columns:80px 1fr;gap:25px;padding:35px 0;border-bottom:1px solid var(--border)}
.step-number{
  width:62px;height:62px;
  border-radius:50%;
  background:var(--navy);
  color:#e1b65d;
  display:grid;place-items:center;
  font-weight:850;
}
.step p{color:var(--muted)}
.report-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.report-list div{padding:12px;background:rgba(255,255,255,.07);border-radius:9px}

/* ---------- CONTACT ---------- */
.contact-box{
  display:grid;gap:4px;
  margin-top:35px;
  padding:25px;
  background:var(--cream);
  border-radius:16px;
}
.contact-box strong{margin-top:12px}
.contact-box span{color:var(--muted)}
.contact-form{
  border:1px solid var(--border);
  border-radius:20px;
  padding:30px;
}
.contact-form label{display:block;font-weight:700;font-size:.88rem;margin-bottom:6px}
.form-control,.form-select{padding:12px;border-color:#d9dce2}
.form-control:focus,.form-select:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 .2rem rgba(201,155,69,.14);
}

/* ---------- CTA / FOOTER ---------- */
.cta-section{
  background:var(--navy);
  color:#fff;
  padding:90px 0;
}
.cta-section h2{color:#fff}
.cta-section p{color:#c6d1de;max-width:650px;margin:15px auto 28px}
.site-footer{
  background:#071727;
  color:#b9c5d2;
  padding:70px 0 25px;
}
.footer-brand{font-size:1.25rem;color:#fff;font-weight:700;margin-bottom:15px}
.site-footer h6{color:#fff;margin-bottom:18px}
.site-footer a{display:block;color:#b9c5d2;margin:7px 0}
.site-footer a:hover{color:#fff}
.site-footer hr{border-color:rgba(255,255,255,.1);margin:40px 0 20px}

/* ---------- RESPONSIVE ---------- */
@media(max-width:991px){
  .site-nav .navbar-collapse{
    background:var(--navy);
    margin-top:12px;
    padding:12px;
    border-radius:12px;
  }
  .hero-home{min-height:auto;padding-top:150px}
  .hero-image-layer{
    background:
      linear-gradient(90deg,rgba(7,20,35,.96),rgba(7,20,35,.72)),
      url('../images/hero-home.svg') center/cover no-repeat;
  }
  .trust-strip .row>div:not(:first-child){border-left:0;padding-left:12px}
}
@media(max-width:767px){
  .section{padding:70px 0}
  .hero{padding:140px 0 70px}
  .hero-home{padding-top:135px}
  .hero-card{margin-top:10px}
  .portal-stat-grid{grid-template-columns:1fr}
  .step{grid-template-columns:55px 1fr;gap:15px}
  .step-number{width:50px;height:50px}
  .report-list{grid-template-columns:1fr}
  .trust-strip{padding:20px 0}
}

/* ---------- PORTAL MAP / ACTIVITY ---------- */
.map-placeholder{
  height:185px;
  margin-top:4px;
  border-radius:14px;
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  color:#c7d5e2;
  font-size:.78rem;
  letter-spacing:.09em;
  background:
    linear-gradient(135deg,rgba(42,76,104,.92),rgba(20,48,72,.98)),
    repeating-linear-gradient(35deg,transparent 0 30px,rgba(255,255,255,.035) 31px 33px);
}
.map-placeholder:before,
.map-placeholder:after{
  content:"";
  position:absolute;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
}
.map-placeholder:before{width:260px;height:160px}
.map-placeholder:after{width:150px;height:95px}
.map-pin{
  position:relative;
  z-index:2;
  width:18px;height:18px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#e3b85f;
  color:#10233f;
  font-size:.65rem;
  box-shadow:0 0 0 8px rgba(227,184,95,.16),0 8px 25px rgba(0,0,0,.25);
  margin-bottom:12px;
}
.map-placeholder span{position:absolute;bottom:17px;z-index:2}
.mini-log{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:15px;
}
.mini-log span{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:#d3dce6;
  font-size:.76rem;
}

/* Equal-height pricing cards and cleaner package spacing */
.price-card{
  display:flex;
  flex-direction:column;
}
.price-card p{flex:1}
.price-card a{margin-top:12px}

/* Give fixed navigation enough breathing room on anchor jumps */
section{scroll-margin-top:85px}
