/* D&D Pharmacy — proposed redesign
   Same brand (navy + green), modernized. No framework. */

:root {
  --navy: #0a355e;
  --navy-deep: #072545;
  --green: #0fa04e;
  --green-dark: #0b7f3e;
  --ink: #0d1b2a;
  --muted: #5b6472;
  --cream: #f6f4ee;
  --line: #e4e7ec;
  --radius: 14px;
  --maxw: 1240px;
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* -------- Announce bar -------- */
.announce {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 9px 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  letter-spacing: 0.2px;
}
.announce .dot { opacity: 0.5; }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-header .logo { height: 44px; width: auto; }
.site-header nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: color 0.15s ease;
}
.site-header nav a:hover { color: var(--navy); }
.site-header nav a.active {
  color: var(--navy);
  font-weight: 600;
}
.site-header nav a.active::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px; bottom: -14px;
  height: 2px;
  background: var(--green);
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.2;
}
.phone-link small {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.phone-link strong {
  font-size: 15px;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10,53,94,0.1);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s ease;
}

/* -------- Hero -------- */
.hero {
  padding: 72px 32px 96px;
  background: radial-gradient(ellipse at top right, var(--cream) 0%, #fff 60%);
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
}
h1.display {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -1.8px;
  color: var(--navy);
  margin: 0 0 22px;
  font-weight: 700;
  text-wrap: balance;
}
h1.display em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: var(--green);
  font-style: italic;
  letter-spacing: -1px;
}
.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 520px;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.trust-row span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(10,53,94,0.35);
}
.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px -15px rgba(10,53,94,0.3);
  border-left: 3px solid var(--green);
}
.hero-badge small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.hero-badge strong {
  display: block;
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
}
.hero-badge span {
  font-size: 13px;
  color: var(--muted);
}

/* -------- Section head -------- */
.section { padding: 96px 32px; }
.section .head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}
h2.display {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--navy);
  margin: 12px 0 0;
  font-weight: 700;
  max-width: 640px;
  text-wrap: balance;
}
.link-arrow {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.link-arrow:hover { color: var(--green); }

/* -------- Service grid -------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
}
.service-card {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.service-card:hover { background: #fbfaf7; }
.service-card .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}
.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.service-card .arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-top: 6px;
}

/* -------- Quote -------- */
.quote-section {
  background: var(--navy);
  padding: 88px 32px;
}
.quote-section .inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.quote-section .open {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--green);
}
.quote-section blockquote {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  margin: 8px 0 28px;
  letter-spacing: -0.3px;
  text-wrap: balance;
}
.quote-section .attr strong { font-weight: 600; }
.quote-section .attr small {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 2px;
}

/* -------- Info grid -------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.info-card {
  background: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(15,160,78,0.12);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 8px;
}
.info-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.info-primary {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.info-secondary {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}
.info-card a.inline-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  margin-top: 10px;
}
.social-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.social-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.social-btn:hover { background: var(--green); }

/* -------- Footer -------- */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 56px 32px 28px;
}
.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer .brand {
  max-width: 280px;
}
.site-footer .brand img {
  height: 36px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.site-footer .brand p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 0;
}
.site-footer .cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.site-footer .col-title {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  font-weight: 600;
}
.site-footer a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
}
.site-footer a:hover { color: var(--green); }
.site-footer .bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* -------- Page hero (for inner pages) -------- */
.page-hero {
  padding: 72px 32px 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: var(--maxw); }
.page-hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  color: var(--navy);
  margin: 8px 0 16px;
  font-weight: 700;
  max-width: 800px;
  text-wrap: balance;
}
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

/* -------- Services page -------- */
.services-detailed {
  padding: 88px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-row .num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  padding-top: 6px;
}
.service-row h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}
.service-row .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(15,160,78,0.1);
  border-radius: 999px;
  margin-top: 8px;
}
.service-row p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.service-row ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.service-row ul li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.service-row ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* -------- FAQ page -------- */
.faq-wrap {
  padding: 72px 32px 96px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-group {
  margin-bottom: 40px;
}
.faq-group-title {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--muted);
  font-weight: 300;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '–';
  color: var(--green);
}
.faq-item .answer {
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

/* -------- Refill page -------- */
.refill-wrap {
  padding: 72px 32px 96px;
}
.refill-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  align-items: start;
}
.refill-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 14px -6px rgba(10,53,94,0.1);
}
.refill-form h2 {
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.refill-form > p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 28px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field label .hint {
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15,160,78,0.12);
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pickup-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pickup-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pickup-options label:has(input:checked) {
  border-color: var(--green);
  background: rgba(15,160,78,0.04);
}
.pickup-options input { margin-top: 3px; accent-color: var(--green); }
.pickup-options .opt-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.pickup-options .opt-desc {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.form-submit {
  margin-top: 10px;
  width: 100%;
}
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.refill-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 92px;
}
.side-card {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.side-card h4 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
  font-weight: 600;
}
.side-card p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.side-card strong { color: var(--navy); }
.step-list { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step-list li {
  counter-increment: step;
  padding: 12px 0 12px 40px;
  position: relative;
  font-size: 14px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.step-list li:first-child { border-top: none; padding-top: 0; }
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step-list li:first-child::before { top: 0; }

.success-msg {
  display: none;
  padding: 40px;
  text-align: center;
}
.success-msg.active { display: block; }
.success-msg .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(15,160,78,0.12);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 20px;
}
.success-msg h3 {
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 600;
}
.success-msg p { color: var(--muted); margin: 0; }

/* -------- Disclaimer band -------- */
.disclaimer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 20px 32px;
}
.disclaimer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.disclaimer .inner strong {
  color: var(--navy);
}

/* -------- Responsive -------- */
@media (max-width: 1100px) {
  .header-ctas .phone-link { display: none; }
}
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .site-header nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px -10px rgba(10,53,94,0.15);
  }
  .menu-toggle { display: block; }
  .hero { padding: 48px 24px 72px; }
  .hero .grid { grid-template-columns: 1fr; gap: 40px; }
  h1.display { font-size: 44px; letter-spacing: -1.2px; }
  .hero-media img { aspect-ratio: 5/4; }
  .hero-badge { left: 16px; bottom: -20px; }
  h2.display { font-size: 32px; }
  .section { padding: 64px 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-section { padding: 56px 24px; }
  .quote-section blockquote { font-size: 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 24px 40px; }
  .page-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-row .num { padding-top: 0; }
  .refill-grid { grid-template-columns: 1fr; gap: 32px; }
  .refill-side { position: static; }
  .refill-form { padding: 28px 20px; }
  .pickup-options { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer .top { flex-direction: column; }
  .site-footer .cols { gap: 32px; }
  .site-footer .bottom { flex-direction: column; }
  .site-header .inner { padding: 12px 20px; gap: 16px; }
  .header-ctas .btn { font-size: 13px; padding: 8px 14px; }
  .announce { font-size: 12px; gap: 8px; padding: 8px 16px; }
  .announce .hide-mobile { display: none; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  h1.display { font-size: 36px; }
  .hero-badge { left: 8px; right: 8px; bottom: -16px; }
}
