/* =========================================================
   Northside General Surgeons
   Shared site stylesheet (FIXED)
   ========================================================= */

/* ---------- CSS VARIABLES ---------- */
:root{
  /* Brand */
  --brand:#0070B0;
  --brand2:#00A090;
  --brandDark:#0060B0;

  /* Neutrals */
  --ink:#0B1220;
  --muted:#5B6676;
  --bg:#F7F8FA;
  --card:#FFFFFF;
  --border:#E6E8EE;

  /* Layout */
  --radius:18px;
  --shadow:0 12px 30px rgba(11,18,32,.08);
  --max:1120px;
}

/* ---------- RESET / BASE ---------- */
*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ---------- WRAPPERS ---------- */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* ---------- HEADER ---------- */
header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
  flex-wrap:wrap; /* prevents header breakage on narrower widths */
}

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

/* Logo size (consistent across index + services) */
.brand img{
  height:84px;
  width:auto;
}

/* Remove header title + location text */
.brand strong,
.brand span{
  display:none !important;
}

/* ---------- NAV ---------- */
nav{
  display:flex;
  gap:10px;
}

/* Bigger, bolder nav everywhere (Surgeons / Services / Contact etc.) */
nav a{
  font-size:18px;
  font-weight:700;
  letter-spacing:0.02em;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}

nav a:hover{
  background:rgba(0,112,176,.08);
  color:var(--ink);
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}

.btn.primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

.btn.secondary{
  background:rgba(0,160,144,.12);
  border-color:rgba(0,160,144,.22);
  color:var(--brandDark);
}

.btn:hover{filter:brightness(.98)}

/* ---------- MAIN ---------- */
main{
  padding:26px 0 18px;
}

/* ---------- HERO / PANELS ---------- */
.hero{
  background:linear-gradient(
    180deg,
    rgba(0,112,176,.10),
    rgba(0,112,176,.03)
  );
  border:1px solid rgba(0,112,176,.14);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:26px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.panel{
  background:linear-gradient(
    180deg,
    rgba(0,112,176,.10),
    rgba(0,112,176,.03)
  );
  border:1px solid rgba(0,112,176,.14);
  border-radius:var(--radius);
  padding:18px;
}

/* ---------- HEADINGS ---------- */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--brandDark);
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--brand2);
}

h1{
  margin:10px 0 10px;
  font-size:clamp(28px,3vw,44px);
  letter-spacing:-.02em;
}

h2{
  margin:0 0 6px;
  font-size:22px;
  letter-spacing:-.01em;
}

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

/* ---------- TEXT ---------- */
.lead{
  font-size:16px;
  color:var(--muted);
  margin:0 0 14px;
}

p{
  margin:0 0 12px;
  color:var(--muted);
}

.fine{
  font-size:12px;
  color:var(--muted);
}

/* ---------- SECTIONS ---------- */
section{margin-top:22px}

.section-title p{max-width:720px}

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

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

/* ---------- PILLS ---------- */
.pillrow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
}

/* ---------- LISTS ---------- */
ul{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}

li{margin:6px 0}

/* ---------- INFO BLOCK ---------- */
.info{
  display:grid;
  gap:8px;
  font-size:14px;
  color:var(--muted);
}

.info a{
  color:var(--brandDark);
  font-weight:800;
}

/* ---------- FOOTER ---------- */
footer{
  margin-top:26px;
  background:#fff;
  border-top:1px solid var(--border);
  padding:22px 0;
}

.foot{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  nav{display:none}
  .grid{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .hero-grid{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr}
}

/* iPhone / small screens */
@media (max-width:768px){
  .brand img{height:72px}
  nav a{font-size:16px}
}
.card p strong,
.card p b {
  font-weight:400 !important;
}