:root{
  --bg:#07111f;
  --soft:#0d1a2c;
  --soft2:#101f34;
  --line:rgba(255,255,255,.11);
  --text:#f4f7fb;
  --muted:#aebbd0;
  --accent:#39d0c5;
  --accent2:#7ff3eb;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  font-family:Inter,Segoe UI,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  height:auto;
}

.container{
  width:min(1180px,92%);
  max-width:100%;
  margin:auto;
}

/* ============================================================
   HEADINGS
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6{
  color:var(--text);
  font-family:Inter,Segoe UI,Arial,sans-serif;
}

h1{
  font-size:clamp(2.5rem,6vw,5rem);
  line-height:1.08;
}

h2{
  font-size:clamp(2rem,4vw,3.1rem);
  line-height:1.15;
}

h3{
  font-size:1.22rem;
  line-height:1.3;
}

p{
  color:inherit;
}

/* ============================================================
   OLD NAV
   Current header.php uses .vc-nav
   ============================================================ */

.nav{
  display:none !important;
}

/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid var(--line);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  font-weight:750;
  cursor:pointer;
  transition:.2s ease;
  text-decoration:none !important;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:var(--accent);
  color:#062028;
  border-color:transparent;
}

.btn-secondary{
  background:transparent;
  color:#fff;
}

.btn-small{
  min-height:36px;
  padding:6px 11px;
  font-size:.85rem;
}

.danger{
  color:#ffb5bd;
  border-color:#8d3c47;
}

/* ============================================================
   GENERAL
   ============================================================ */

.section{
  padding:78px 0;
}

.section-head{
  margin-bottom:32px;
}

.eyebrow{
  color:var(--accent2);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.lead{
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.75;
  max-width:760px;
}

.muted{
  color:var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */

.hero{
  padding:96px 0 76px;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(57,208,197,.14),
      transparent 34%
    ),
    var(--bg);
}

.hero-grid,
.grid-2{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:38px;
  align-items:center;
}

.hero-actions{
  display:flex;
  gap:11px;
  flex-wrap:wrap;
}

/* ============================================================
   CARDS / PANELS
   ============================================================ */

.panel,
.card{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.02)
    );
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  color:var(--text);
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card h3{
  margin-bottom:8px;
}

.card p{
  color:var(--muted);
}

.card ul{
  padding-left:18px;
  margin-top:12px;
}

.card li{
  color:#d7e0ec;
  margin:5px 0;
}

.icon{
  width:44px;
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(57,208,197,.12);
  color:var(--accent2);
  font-weight:900;
  margin-bottom:14px;
}

/* ============================================================
   METRICS
   ============================================================ */

.metric{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.metric:last-child{
  border-bottom:0;
}

.metric strong{
  display:block;
  color:#fff;
}

.metric span{
  display:block;
  color:var(--muted);
  margin-top:3px;
}

/* ============================================================
   PILLS
   ============================================================ */

.pills{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:#dce7f2;
  background:rgba(255,255,255,.02);
}

/* ============================================================
   FORMS
   ============================================================ */

.form{
  display:grid;
  gap:15px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

label{
  display:block;
  color:#dce7f2;
  font-size:.9rem;
}

input,
textarea,
select{
  width:100%;
  margin-top:6px;
  padding:12px 13px;
  border-radius:11px;
  border:1px solid var(--line);
  background:#0b1728;
  color:#fff;
  font-family:inherit;
}

input::placeholder,
textarea::placeholder{
  color:#76869c;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:rgba(57,208,197,.7);
}

textarea{
  min-height:130px;
  resize:vertical;
}

.notice,
.alert{
  padding:13px 14px;
  border-radius:12px;
  border:1px solid rgba(57,208,197,.35);
  background:rgba(57,208,197,.08);
}

/* ============================================================
   PUBLIC PAGE TYPOGRAPHY
   ============================================================ */

.v10-page-title{
  font-size:clamp(2.25rem,4.4vw,3.55rem);
  line-height:1.1;
  letter-spacing:-.035em;
  margin:10px 0 18px;
}

.v10-section-title{
  font-size:clamp(1.75rem,3vw,2.45rem);
  line-height:1.18;
  margin:7px 0 16px;
}

.v10-lead{
  font-size:1.03rem;
  line-height:1.8;
}

.v10-copy{
  color:#d5e0ec;
  font-size:.96rem;
  line-height:1.82;
  margin-bottom:14px;
}

.v10-soft{
  background:rgba(255,255,255,.02);
}

/* ============================================================
   FOUNDER
   ============================================================ */

.founder-v10{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:44px;
  align-items:center;
}

.founder-photo{
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 18px 48px rgba(0,0,0,.28);
}

.founder-photo img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  display:block;
}

.v10-founder-name{
  font-size:clamp(1.9rem,3vw,2.6rem);
  margin:5px 0;
}

.v10-role{
  color:var(--accent2);
  font-weight:700;
  margin-bottom:18px;
}

.v10-quote{
  margin-top:20px;
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */

.project-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:13px;
  margin-bottom:15px;
}

/* ============================================================
   TABLES
   ============================================================ */

.table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:11px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line);
}

.table th{
  color:var(--accent2);
  font-size:.88rem;
}

.table td{
  color:#e3eaf3;
}

/* ============================================================
   ADMIN / CLIENT
   ============================================================ */

.admin-shell{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  min-height:100vh;
}

.sidebar{
  background:#07111f;
  border-right:1px solid var(--line);
  padding:22px;
}

.sidebar a{
  display:block;
  padding:9px 11px;
  border-radius:9px;
  margin:3px 0;
  color:#f0f5fa;
}

.sidebar a:hover{
  background:#10213a;
}

.admin-main{
  min-width:0;
  padding:28px;
  background:#0a1424;
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.stat{
  padding:20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#0f1d31;
}

.stat strong{
  display:block;
  font-size:1.7rem;
}

.actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.login-wrap{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:20px;
}

.login-card{
  width:min(460px,95%);
  padding:28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#0d1a2c;
}

/* ============================================================
   REPORTS
   ============================================================ */

.report-toolbar{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin-bottom:16px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer{
  padding:30px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
  background:#07111f;
}

.footer-wrap{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

/* ============================================================
   WHATSAPP
   ============================================================ */

.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:54px;
  height:54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#25D366;
  color:#062028;
  font-weight:900;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  z-index:50;
}

/* ============================================================
   STATUS
   ============================================================ */

.status-ok{
  color:#85f5b3;
}

.status-warn{
  color:#ffd27f;
}

.status-bad{
  color:#ff8d8d;
}

.status-neutral{
  color:#b8c6d7;
}

/* ============================================================
   RESPONSIVE TABLET
   ============================================================ */

@media(max-width:900px){

  .hero-grid,
  .grid-2{
    grid-template-columns:1fr;
  }

  .cards{
    grid-template-columns:1fr 1fr;
  }

  .admin-shell{
    display:block;
  }

  .sidebar{
    width:100%;
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:14px;
  }

  .admin-main{
    width:100%;
    padding:18px 12px;
  }

  .stat-grid{
    grid-template-columns:1fr 1fr;
  }

  .table{
    min-width:680px;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:768px){

  h1,
  .v10-page-title{
    font-size:clamp(1.85rem,8vw,2.55rem);
    line-height:1.12;
    letter-spacing:-.02em;
  }

  h2,
  .v10-section-title{
    font-size:clamp(1.45rem,6vw,2rem);
    line-height:1.2;
  }

  h3{
    font-size:1.1rem;
  }

  .lead,
  .v10-lead{
    font-size:.97rem;
    line-height:1.7;
  }

  .v10-copy{
    font-size:.93rem;
    line-height:1.72;
  }

  .section{
    padding:46px 0;
  }

  .hero{
    padding:52px 0 44px;
  }

  .hero-grid,
  .grid-2,
  .founder-v10{
    grid-template-columns:1fr !important;
    gap:24px;
  }

  .cards{
    grid-template-columns:1fr;
    gap:14px;
  }

  .panel,
  .card{
    padding:17px;
    border-radius:16px;
  }

  .form-row,
  .stat-grid{
    grid-template-columns:1fr;
  }

  input,
  select,
  textarea{
    font-size:16px;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .hero-actions .btn{
    width:100%;
  }

  .founder-photo{
    width:min(100%,280px);
    max-width:280px;
    margin:0 auto;
  }

  .founder-photo img{
    width:100%;
    height:auto;
    aspect-ratio:4/5;
    object-fit:cover;
  }

  .footer-wrap{
    flex-direction:column;
    gap:10px;
  }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media(max-width:480px){

  .container{
    width:90%;
  }

  .section{
    padding:38px 0;
  }

  .panel,
  .card{
    padding:15px;
  }

  .v10-page-title{
    font-size:2rem;
  }

  .v10-section-title{
    font-size:1.52rem;
  }

  .founder-photo{
    max-width:245px;
  }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print{

  .no-print,
  .sidebar,
  .topbar,
  .vc-nav,
  .vc-menu-btn,
  .actions,
  form,
  .whatsapp-float{
    display:none !important;
  }

  body{
    background:#fff !important;
    color:#111 !important;
  }

  .admin-main{
    padding:0 !important;
    background:#fff !important;
  }

  .panel,
  .card,
  .stat{
    box-shadow:none !important;
    border:1px solid #ccc !important;
    background:#fff !important;
    color:#111 !important;
  }

  .muted,
  .v10-copy{
    color:#444 !important;
  }

  table{
    width:100% !important;
    border-collapse:collapse !important;
  }

  th,
  td{
    border:1px solid #bbb !important;
    color:#111 !important;
    padding:6px !important;
  }

}