/* Wallace's Drug Store — light, professional, medical theme */
:root {
  --teal: #0e7c86;
  --teal-dark: #0a5f66;
  --teal-tint: #e9f5f6;
  --blue: #0a58ca;
  --blue-tint: #eef4fd;
  --ink: #1f2937;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --bg-alt: #eef3f5;
  --line: #e3e9ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 124, 134, 0.10);
  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--muted); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
section { padding: 3.25rem 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--teal-tint), #ffffff); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; font-family: inherit; font-size: 1rem;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-outline:hover { background: var(--teal-tint); }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: grid; place-items: center;
}
.brand-name { font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.brand-tag { display: block; font-size: 0.75rem; font-weight: 600; color: var(--teal); letter-spacing: 0.04em; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: 0.55rem 0.9rem; border-radius: 8px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }
.header-cta { margin-left: auto; display: none; align-items: center; gap: 0.5rem; }
.header-cta .btn { padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.nav-toggle {
  margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.5rem 0.65rem; cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1rem; }
.mobile-nav a {
  display: block; padding: 0.7rem 0.25rem; text-decoration: none;
  color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--teal-dark); }

/* Hero */
.hero { padding: 3.5rem 0 3rem; background: linear-gradient(180deg, var(--teal-tint) 0%, #ffffff 90%); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; height: 100%; max-height: 420px; object-fit: cover;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--teal-dark);
  box-shadow: var(--shadow); margin-bottom: 1rem;
}

/* Trust row */
.trust-row {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  padding: 0 0 0.5rem;
}
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: 0.9rem;
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px;
  background: var(--blue-tint); display: grid; place-items: center;
}
.trust-card strong { display: block; font-size: 1.02rem; }
.trust-card span { color: var(--muted); font-size: 0.9rem; }

/* Cards / grids */
.grid { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-tint); display: grid; place-items: center; margin-bottom: 0.4rem;
}
.card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.card a.more { font-weight: 700; text-decoration: none; color: var(--teal-dark); }
.card a.more:hover { text-decoration: underline; }

.split { display: grid; gap: 2rem; align-items: center; }
.split img.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 440px; }
.list-check { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.55rem; }
.list-check li { display: flex; gap: 0.65rem; align-items: flex-start; }
.list-check svg { flex: 0 0 22px; margin-top: 0.2rem; }

/* Hours band */
.hours-band { background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%); color: #fff; border-radius: var(--radius); }
.hours-band h2, .hours-band h3 { color: #fff; }
.hours-grid { display: grid; gap: 1.5rem; padding: 2.25rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.55rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.25); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.hours-table th { font-weight: 600; opacity: 0.92; }
.hours-table.on-light th, .hours-table.on-light td { border-bottom-color: var(--line); color: var(--ink); }
.hours-table.on-light th { opacity: 1; font-weight: 700; }
.hours-band a { color: #fff; }
.contact-lines { display: grid; gap: 0.9rem; font-size: 1.02rem; }
.contact-lines strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.contact-lines a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

/* Page hero */
.page-hero { padding: 2.75rem 0 2.25rem; background: linear-gradient(180deg, var(--teal-tint), #ffffff); }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 620px; }
.form label { font-weight: 700; font-size: 0.95rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--teal); border-color: var(--teal);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--muted); }

/* Map */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Team */
.team-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.team-card h3 { margin-bottom: 0.25rem; }
.team-role { color: var(--teal-dark); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.6rem; }
.team-card p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #d7dde5; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: #fff; font-size: 1.02rem; }
.site-footer a { color: #d7dde5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.25rem 0; font-size: 0.88rem; color: #aeb6c2;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.two-col { columns: 1; }

@media (min-width: 700px) {
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hours-grid { grid-template-columns: 1.2fr 1fr; padding: 2.75rem 3rem; }
  .two-col { columns: 2; column-gap: 2.5rem; }
}

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip > :first-child { order: 2; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
