/*
Theme Name: ConsultCA Polished
Theme URI: https://consultca.org
Author: ConsultCA
Description: Polished lightweight theme for ConsultCA.org with logo support and modern CA/CFO layout.
Version: 1.0
Text Domain: consultca
*/

:root{
  --accent: #0057ff;
  --accent-soft: rgba(0,87,255,0.08);
  --muted: #6b7280;
  --glass: rgba(11,22,36,0.03);
  --card: #ffffff;
  --border-soft: #e5edf5;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background:linear-gradient(180deg,#ffffff 0%, #f7fafc 100%);
  color:#0b1220;
  line-height:1.5;
}

a{
  color:var(--accent);
}
a:hover{
  text-decoration:none;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:28px 20px 40px;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0 6px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand img{
  width:104px;
  height:104px;
  border-radius:16px;
  object-fit:contain;
}

nav a{
  margin-left:18px;
  text-decoration:none;
  color:inherit;
  font-weight:600;
  font-size:14px;
}
nav a:hover{
  color:var(--accent);
}

section{
  margin-bottom:48px;
}

.hero{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:center;
  padding:24px 0 8px;
}

.hero-inner{
  background:#f5f8ff;
  padding:26px 26px 22px;
  border-radius:18px;
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
  border:1px solid rgba(148,163,184,0.35);
}

h1{
  margin:0;
  font-size:32px;
  letter-spacing:-0.02em;
}

h2{
  margin:0 0 8px;
  font-size:22px;
  letter-spacing:-0.01em;
}

h3{
  margin:0 0 4px;
  font-size:16px;
}

p.lead{
  color:var(--muted);
  margin:12px 0 18px;
  font-size:15px;
}

.cta{
  display:flex;
  gap:12px;
  margin-bottom:8px;
}

.btn{
  padding:11px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.btn-primary{
  background:var(--accent);
  color:#ffffff;
  box-shadow:0 10px 25px rgba(37,99,235,0.35);
}
.btn-primary:hover{
  background:#0046d1;
  box-shadow:0 14px 30px rgba(37,99,235,0.45);
  transform:translateY(-1px);
}

.btn-outline{
  border-color:var(--accent);
  color:var(--accent);
  background:#ffffff;
}
.btn-outline:hover{
  background:var(--accent-soft);
}

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

.card{
  background:var(--card);
  padding:18px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
  border:1px solid rgba(148,163,184,0.18);
}

.service-card{
  transition:transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(15,23,42,0.12);
  border-color:var(--accent-soft);
}

.about{
  display:flex;
  gap:18px;
  align-items:center;
  margin:12px 0 8px;
}
.about img{
  width:160px;
  height:160px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--accent-soft);
}

input,
textarea{
  padding:12px;
  border:1px solid #e6edf3;
  border-radius:8px;
  font-size:14px;
  width:100%;
}

footer{
  padding:20px 0 8px;
  color:var(--muted);
  border-top:1px solid var(--border-soft);
  margin-top:20px;
  font-size:13px;
  text-align:left;
}
footer .footer-inner{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

/* Responsive */
@media (max-width:900px){
  .grid-3{
    grid-template-columns:1fr;
  }
  .about{
    flex-direction:column;
    text-align:center;
  }
  nav{
    display:none;
  }
  .brand img{
    width:80px;
    height:80px;
  }
}
