:root {
  --primary: #125faa;
  --primary-dark: #0b4c88;
  --secondary: #51b948;
  --secondary-dark: #379334;
  --accent: #eff7ff;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #163047;
  --muted: #5f7286;
  --border: #dfe7ef;
  --shadow: 0 18px 40px rgba(20, 53, 84, 0.08);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 231, 239, 0.9);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand img {
  width: 260px;
  max-width: 100%;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }

.site-nav .header-phone {
  white-space: nowrap;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #ffffff;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(81, 185, 72, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-nav .header-phone::after {
  display: none;
}

.site-nav .header-phone:hover,
.site-nav .header-phone:focus-visible {
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px rgba(81, 185, 72, 0.34);
  filter: brightness(1.04);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.35rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(81,185,72,0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(18,95,170,0.10), transparent 34%),
    linear-gradient(180deg, #f9fcff, #ffffff);
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.eyebrow.light { color: rgba(255,255,255,0.85); }

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 {
  font-size: clamp(2.45rem, 6vw, 4.55rem);
  max-width: 10ch;
}
.hero-tagline {
  margin: 0.8rem 0 1rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  color: var(--secondary-dark);
}
.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.contact-buttons,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 16px 30px rgba(18, 95, 170, 0.18);
}
.button-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}
.button-light {
  background: white;
  color: var(--primary-dark);
}
.button-outline-light {
  color: white;
  border: 1px solid rgba(255,255,255,0.45);
}

.hero-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 500;
}
.hero-points li::before {
  content: '✔';
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  background: rgba(81,185,72,0.14);
  color: var(--secondary-dark);
  border-radius: 50%;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

.hero-card,
.image-card,
.content-card,
.contact-card,
.map-card,
.brand-card,
.service-card,
.strip-card {
  background: var(--surface);
  border: 1px solid rgba(223, 231, 239, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card { padding: 1.25rem; }
.quick-grid {
  display: grid;
  gap: 1rem;
}
.quick-card {
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(18,95,170,0.35);
}
.quick-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18,95,170,0.12), rgba(81,185,72,0.12));
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.quick-card h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.quick-card p { margin: 0; color: var(--muted); }

.section { padding: 5rem 0; }
.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.25rem;
  align-items: center;
}
.image-card { overflow: hidden; }
.image-card img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}
.content-card { padding: 2rem; }
.content-card p { color: var(--muted); }
.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.mini-feature-grid article {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
}
.mini-feature-grid h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.mini-feature-grid p { margin: 0; font-size: 0.96rem; }

.accent-section { background: linear-gradient(180deg, #f8fbff, #ffffff); }
.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}
.section-heading.center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 2.2rem;
}
.section-heading.narrow { max-width: 640px; }
.section-heading p { color: var(--muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  padding: 1.35rem;
  min-height: 100%;
}
.service-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(81,185,72,0.14), rgba(18,95,170,0.14));
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
}
.service-card h3 { margin: 0 0 0.45rem; font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--muted); }

.highlight-strip {
  padding-top: 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.strip-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.strip-card h3 { margin: 0 0 0.55rem; }
.strip-card p { margin: 0; color: var(--muted); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.brand-card {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 1.2rem;
}
.brand-card img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary-dark));
  color: white;
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-box p { margin-bottom: 0; color: rgba(255,255,255,0.88); }
.cta-box h2 { margin-top: 0.2rem; }
.cta-box a:not(.button) { color: white; text-decoration: underline; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.4rem;
  align-items: stretch;
}
.contact-card,
.map-card { padding: 1.65rem; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.contact-list li {
  display: grid;
  gap: 0.28rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.contact-list span,
.contact-list a { color: var(--muted); }
.map-card iframe {
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
}

.site-footer {
  background: #0d2033;
  color: rgba(255,255,255,0.88);
  padding: 2.2rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}
.footer-logo { width: 220px; margin: 0; }
.site-footer a { color: white; }
.site-footer p { margin: 0.35rem 0; }

@media (max-width: 1120px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: 1fr; }
  .cta-box { align-items: flex-start; }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto auto;
    gap: 1rem;
  }
  .brand { order: 1; }
  .menu-toggle {
    display: inline-block;
    justify-self: end;
    order: 2;
  }
  .site-nav {
    order: 4;
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.5rem 0 1rem;
  }
  .site-nav.open { display: flex; }
  .header-phone {
    margin-top: 0.35rem;
  }
}

@media (max-width: 680px) {
  .container { width: min(var(--container), calc(100% - 1.1rem)); }
  .section,
  .hero { padding: 3.5rem 0; }
  .content-card,
  .contact-card,
  .map-card { padding: 1.2rem; }
  .services-grid,
  .mini-feature-grid,
  .brand-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .brand img { width: 220px; }
}

/* Final hero and refill-link refinements */
.hero-grid {
  display: block;
}

.hero-copy {
  width: min(900px, 100%);
  padding: 1.25rem 0 1.75rem;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.hero-text {
  max-width: 780px;
  font-size: 1.08rem;
}

.service-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(20, 53, 84, 0.12);
  border-color: rgba(18, 95, 170, 0.3);
  outline: none;
}


/* Hero balance refinement */
.hero {
  padding: 5rem 0 4.75rem;
}

.hero-grid {
  display: block;
}

.hero-copy {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 0;
  text-align: center;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3rem, 6vw, 5.15rem);
}

.hero-tagline {
  margin-top: 1rem;
}

.hero-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.hero-points {
  max-width: 980px;
  margin: 1.65rem auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.hero-points li {
  justify-content: center;
  text-align: left;
}

@media (max-width: 760px) {
  .hero {
    padding: 3.75rem 0 3.5rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-text {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-points {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-points li {
    justify-content: flex-start;
  }
}

/* Final hero layout: pharmacy artwork is part of the background on every screen size */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  padding: 5.25rem 0 4.75rem;
  background:
    radial-gradient(circle at 95% 8%, rgba(81,185,72,0.11), transparent 30%),
    radial-gradient(circle at 0% 90%, rgba(18,95,170,0.08), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

/* The pharmacy artwork stays decorative/background-only and never becomes a stacked element. */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(-1.5rem, calc((100vw - 1180px) / 2 - 2rem));
  width: clamp(620px, 52vw, 860px);
  height: clamp(560px, 49vw, 800px);
  transform: translateY(-49%);
  background: url('assets/hero-pharmacy.png') center / contain no-repeat;
  filter: drop-shadow(0 26px 48px rgba(18,95,170,0.08));
  pointer-events: none;
}

.hero-grid {
  display: block;
  position: relative;
}

.hero-copy {
  width: min(100%, 650px);
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero h1 {
  max-width: 9.8ch;
  margin: 0;
  font-size: clamp(3.6rem, 5.35vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-tagline {
  margin: 1.35rem 0 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.hero-text {
  max-width: 610px;
  margin: 1.35rem 0 0;
  font-size: 1.06rem;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 1.7rem;
}

.hero-points {
  max-width: 620px;
  margin: 1.65rem 0 0;
  grid-template-columns: 1fr;
  gap: 0.78rem;
}

.hero-points li {
  justify-content: flex-start;
  text-align: left;
}

@media (max-width: 1120px) {
  .hero {
    min-height: 650px;
  }

  .hero::after {
    right: -9rem;
    width: clamp(590px, 58vw, 740px);
    height: clamp(540px, 56vw, 700px);
    opacity: 0.92;
  }

  .hero-copy {
    width: min(100%, 600px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 610px;
    padding: 4.5rem 0 4rem;
  }

  /* Keep it in the background on tablets; move it right and soften it behind the copy. */
  .hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 48%, rgba(255,255,255,0.35) 78%, rgba(255,255,255,0.08) 100%);
    pointer-events: none;
  }

  .hero::after {
    z-index: -1;
    right: -13rem;
    top: 53%;
    width: 680px;
    height: 620px;
    opacity: 0.76;
  }

  .hero-copy {
    width: min(82%, 590px);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 8vw, 4.5rem);
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 570px;
    padding: 3.6rem 0 3.25rem;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.96) 60%, rgba(255,255,255,0.55) 82%, rgba(255,255,255,0.22) 100%);
  }

  /* Still background-only on phones: no stacking, no extra image block below the content. */
  .hero::after {
    right: -15rem;
    top: 55%;
    width: 575px;
    height: 530px;
    opacity: 0.48;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 8.8ch;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-tagline {
    max-width: 13ch;
    font-size: 1.35rem;
  }

  .hero-text {
    max-width: 32rem;
    font-size: 1rem;
  }

  .hero-points {
    max-width: 28rem;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 610px;
  }

  .hero::after {
    right: -18rem;
    top: 57%;
    width: 540px;
    height: 500px;
    opacity: 0.34;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .button {
    padding-inline: 1rem;
  }
}

/* === HERO COMPOSITION LOCK — matches supplied reference === */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  padding: 5.2rem 0 4.5rem;
  background:
    radial-gradient(circle at 94% 12%, rgba(81,185,72,0.10), transparent 30%),
    radial-gradient(circle at 4% 92%, rgba(18,95,170,0.07), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

/* Hero gets a wider layout than the rest of the site so the copy sits left like the reference. */
.hero > .container {
  width: calc(100% - 12vw);
  max-width: 1500px;
  margin-inline: auto;
}

.hero-grid {
  display: block;
  position: relative;
  min-height: 560px;
}

.hero-copy {
  width: min(47vw, 690px);
  max-width: 690px;
  position: relative;
  z-index: 3;
  text-align: left;
  margin: 0;
}

.hero h1 {
  max-width: 9.8ch;
  margin: 0;
  font-size: clamp(3.55rem, 5.1vw, 5.15rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-tagline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
}

.hero-text {
  max-width: 610px;
  margin: 1.3rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 1.65rem;
}

.hero-points {
  max-width: 610px;
  margin: 1.55rem 0 0;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.hero-points li {
  justify-content: flex-start;
  text-align: left;
}

/* Pharmacy art is background-only and anchored to the right half. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 3.5vw;
  width: min(52vw, 780px);
  height: min(70vw, 690px);
  transform: translateY(-49%);
  background-image: url('assets/hero-pharmacy.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  filter: drop-shadow(0 24px 46px rgba(18,95,170,0.08));
  pointer-events: none;
}

/* Desktop overlap protection at narrower laptop sizes. */
@media (max-width: 1180px) {
  .hero > .container {
    width: calc(100% - 7rem);
  }

  .hero-copy {
    width: min(52vw, 620px);
  }

  .hero::after {
    right: 1rem;
    width: min(50vw, 650px);
    height: 610px;
  }
}

/* Tablet: artwork remains background; never becomes a stacked block. */
@media (max-width: 900px) {
  .hero {
    min-height: 620px;
    padding: 4.4rem 0 3.8rem;
  }

  .hero > .container {
    width: calc(100% - 3rem);
  }

  .hero-grid {
    min-height: 520px;
  }

  .hero-copy {
    width: min(72%, 590px);
    max-width: 590px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 8vw, 4.35rem);
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.96) 52%, rgba(255,255,255,0.62) 72%, rgba(255,255,255,0.08) 100%);
    pointer-events: none;
  }

  .hero::after {
    z-index: 1;
    right: -3rem;
    width: 58vw;
    min-width: 440px;
    height: 560px;
    opacity: 0.82;
  }
}

/* Mobile: same hero background behavior, with the art faded to the right. */
@media (max-width: 680px) {
  .hero {
    min-height: 590px;
    padding: 3.4rem 0 3rem;
  }

  .hero > .container {
    width: calc(100% - 2rem);
  }

  .hero-grid {
    min-height: 500px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .hero-tagline {
    max-width: 15ch;
    font-size: 1.28rem;
  }

  .hero-text {
    max-width: 31rem;
    font-size: 0.98rem;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.995) 0%, rgba(255,255,255,0.97) 62%, rgba(255,255,255,0.72) 80%, rgba(255,255,255,0.20) 100%);
  }

  .hero::after {
    right: -8rem;
    top: 54%;
    width: 510px;
    height: 500px;
    min-width: 0;
    opacity: 0.42;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 620px;
  }

  .hero::after {
    right: -10.5rem;
    top: 56%;
    width: 470px;
    height: 470px;
    opacity: 0.30;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .button {
    padding-inline: 1rem;
  }
}

/* FINAL HERO ALIGNMENT — use the same site container as header/content */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.75rem;
  min-height: 640px;
  background:
    radial-gradient(circle at 92% 12%, rgba(81,185,72,0.10), transparent 30%),
    radial-gradient(circle at 4% 92%, rgba(18,95,170,0.08), transparent 32%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.hero::before {
  content: none !important;
  display: none !important;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: max(2rem, calc((100vw - var(--container)) / 2));
  width: min(47vw, 650px);
  aspect-ratio: 4 / 3;
  transform: translateY(-50%);
  background: url('assets/hero-pharmacy.png') center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 24px 46px rgba(18,95,170,0.08));
}

.hero > .container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: block;
  width: 100%;
}

.hero-copy {
  width: min(56%, 690px);
  max-width: 690px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.hero-tagline {
  margin-top: 1rem;
}

.hero-text {
  max-width: 620px;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions {
  justify-content: flex-start;
}

.hero-points {
  max-width: 650px;
  margin: 1.65rem 0 0;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.hero-points li {
  justify-content: flex-start;
  text-align: left;
}

@media (max-width: 980px) {
  .hero {
    min-height: 590px;
    padding: 4.25rem 0 4rem;
  }

  .hero-copy {
    width: 62%;
    max-width: 610px;
  }

  .hero::after {
    right: -2rem;
    width: min(54vw, 560px);
    opacity: 0.68;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 3.5rem 0 3.25rem;
  }

  .hero > .container {
    width: min(var(--container), calc(100% - 1.1rem));
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-right: 12%;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }

  .hero::after {
    right: -6.5rem;
    top: 53%;
    width: min(78vw, 470px);
    opacity: 0.16;
  }
}

@media (max-width: 480px) {
  .hero-copy {
    padding-right: 0;
  }

  .hero::after {
    right: -8rem;
    width: 95vw;
    opacity: 0.11;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-actions .button {
    width: auto;
  }
}
