/* Dr. V Podiatry — AskDrV.com — Shared Stylesheet */

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f7f9fc;
  color: #1a2e4a;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Variables ──────────────────────────────────────── */
:root {
  --navy:   #111111;
  --navy2:  #000000;
  --gold:   #f5c800;
  --gold2:  #d4a900;
  --bg:     #f8f8f8;
  --white:  #ffffff;
  --muted:  #555555;
  --border: #dddddd;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* ── Layout ─────────────────────────────────────────── */
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
section { padding: 64px 0; }

/* 4-col locations on desktop */
#locations-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px)  { #locations-grid-home { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px)  { #locations-grid-home { grid-template-columns: 1fr; } }
#locations-grid-home .card { padding: 20px; }

/* Anchor offset for sticky nav */
section[id] { scroll-margin-top: 72px; }
.service-detail-card[id] { scroll-margin-top: 84px; }

/* ── Typography ─────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.18s;
  text-decoration: none; white-space: nowrap;
}
.btn-gold   { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy2); }
.btn-ghost  { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

/* ── Nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.nav-logo { color: var(--white); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.01em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; transition: all 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.2s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 16px 16px; border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a {
  color: rgba(255,255,255,0.85); padding: 10px 12px; border-radius: 8px;
  font-weight: 500; transition: background 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); }
.mobile-menu .btn { margin-top: 8px; text-align: center; }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #111111 0%, #000000 100%);
  padding: 80px 0 72px; text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p  { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 600px; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust-badges {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px;
}
.trust-badge {
  color: rgba(255,255,255,0.75); font-size: 0.88rem; display: flex; align-items: center; gap: 6px;
}
.trust-badge::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* ── Section headings ────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
}

/* ── Location Cards ──────────────────────────────────── */
.locations-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.location-card { display: flex; flex-direction: column; gap: 12px; }
.location-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 2px; }
.location-card .address { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.location-card .phone-link {
  display: inline-block; font-size: 1.25rem; font-weight: 800;
  color: var(--gold2); text-decoration: none;
}
.location-card .phone-link:hover { color: var(--navy); }
.location-card .hours { color: var(--muted); font-size: 0.9rem; }
.location-card .card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ── Services Grid ───────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.service-tile {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: box-shadow 0.18s, transform 0.18s;
}
.service-tile:hover { box-shadow: 0 8px 32px rgba(26,46,74,0.14); transform: translateY(-2px); }
a.service-tile { cursor: pointer; color: inherit; }
a.service-tile:hover { color: inherit; }
a.location-card { cursor: pointer; }
a.location-card:hover { box-shadow: 0 8px 32px rgba(26,46,74,0.18); transform: translateY(-2px); transition: all 0.18s; }
.service-tile .icon { font-size: 2.2rem; margin-bottom: 10px; }
.service-tile h3 { font-size: 1rem; margin-bottom: 6px; }
.service-tile p { font-size: 0.88rem; }

/* ── Why Dr. V ───────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.why-card { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { font-size: 2rem; flex-shrink: 0; }
.why-card h3 { margin-bottom: 4px; }

/* ── Providers ───────────────────────────────────────── */
.providers-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.provider-card { display: flex; flex-direction: column; gap: 16px; }
.provider-photo {
  width: 100%; height: 220px; background: #e4eaf0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem;
}
.provider-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.provider-title { color: var(--gold2); font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }

/* ── Reviews ─────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--gold); font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--muted); flex: 1; }
.reviewer { font-weight: 700; font-size: 0.9rem; color: var(--navy); }

/* ── Insurance Banner ────────────────────────────────── */
.insurance-section { background: #111111; padding: 56px 0; }
.insurance-section h2 { color: var(--white); margin-bottom: 12px; }
.insurance-section > .wrap > p { color: rgba(255,255,255,0.72); margin-bottom: 28px; }
.insurance-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
}
.ins-pill {
  background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
}

/* ── CTA Banner ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #f0a500 0%, #d9920a 100%);
  padding: 56px 0; text-align: center;
}
.cta-banner h2 { color: var(--navy); margin-bottom: 10px; }
.cta-banner p { color: rgba(26,46,74,0.75); margin-bottom: 24px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: #111111; color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-brand span { color: var(--gold); }
.footer-tagline { font-size: 0.9rem; margin-bottom: 8px; }
.footer-affil { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--white); }
.footer-location { margin-bottom: 20px; }
.footer-location strong { color: var(--white); display: block; margin-bottom: 4px; }
.footer-location span, .footer-location a { font-size: 0.9rem; color: rgba(255,255,255,0.65); display: block; }
.footer-location a { color: var(--gold); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0; text-align: center; font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ── Page Hero (inner pages) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #111111 0%, #000000 100%);
  padding: 52px 0 44px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 560px; }

/* ── Service Detail ──────────────────────────────────── */
.service-detail { display: grid; gap: 32px; }
.service-detail-card { padding: 36px; }
.service-detail-card h2 { margin-bottom: 6px; }
.service-detail-card .icon-lg { font-size: 2.5rem; margin-bottom: 12px; }

/* ── Form ─────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
input, select, textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; color: var(--navy); background: var(--white);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy);
}
textarea { resize: vertical; min-height: 110px; }
.form-submit { grid-column: 1 / -1; }
.form-submit .btn { width: 100%; padding: 15px; font-size: 1.05rem; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { padding: 22px 26px; }
.faq-item h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.faq-item p  { margin: 0; }

/* ── Map placeholder ─────────────────────────────────── */
.map-placeholder {
  width: 100%; height: 280px; background: #e4eaf0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem; border: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .locations-grid   { grid-template-columns: 1fr 1fr; }
  .services-grid    { grid-template-columns: repeat(2,1fr); }
  .why-grid         { grid-template-columns: 1fr; }
  .providers-grid   { grid-template-columns: 1fr; }
  .reviews-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .form-grid        { grid-template-columns: 1fr; }
  .form-group.full  { grid-column: auto; }
  .form-submit      { grid-column: auto; }
}
@media (max-width: 560px) {
  section { padding: 44px 0; }
  .locations-grid   { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .hero { padding: 52px 0 44px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
