:root {
  --ink: #09241d;
  --ink-soft: #405b53;
  --green: #07804a;
  --green-bright: #13ad72;
  --green-dark: #035b36;
  --green-pale: #eaf7ef;
  --yellow: #fff052;
  --pink: #ea8dbc;
  --cream: #f7f5ec;
  --white: #ffffff;
  --line: rgba(9, 36, 29, 0.12);
  --shadow: 0 22px 65px rgba(3, 70, 42, 0.1);
  --radius: 30px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 12px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 18px 0;
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(2, 67, 39, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.17rem;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.brand small {
  margin-top: 5px;
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: #29443c;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 168px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 247, 238, 0.96), rgba(255, 255, 255, 0.92) 58%, rgba(255, 244, 249, 0.8)),
    var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(5, 117, 68, 0.09) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 58%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.65;
}

.hero-glow-one {
  right: -120px;
  bottom: -170px;
  width: 520px;
  height: 520px;
  background: rgba(255, 240, 82, 0.55);
}

.hero-glow-two {
  top: 100px;
  right: 30%;
  width: 260px;
  height: 260px;
  background: rgba(234, 141, 188, 0.32);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
  font-weight: 780;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 span {
  color: var(--green);
}

.hero-lead {
  max-width: 640px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 16px 36px rgba(3, 91, 54, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green);
  box-shadow: 0 19px 42px rgba(3, 91, 54, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(9, 36, 29, 0.15);
}

.hero-trust {
  display: flex;
  gap: 30px;
  margin-top: 54px;
}

.hero-trust div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 7px;
}

.hero-trust strong {
  color: var(--green-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-trust span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-mark {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
}

.mark-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(390px, 75vw);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42% 58% 49% 51% / 42% 39% 61% 58%;
  box-shadow: 0 35px 100px rgba(5, 117, 68, 0.18);
  place-items: center;
  transform: rotate(3deg);
  animation: float 7s ease-in-out infinite;
}

.mark-card img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  transform: rotate(-3deg);
}

.mark-orbit {
  position: absolute;
  border: 1px solid rgba(7, 128, 74, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 480px;
  height: 480px;
}

.orbit-two {
  width: 600px;
  height: 600px;
  border-style: dashed;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(7, 128, 74, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(9, 36, 29, 0.08);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-one {
  top: 18%;
  left: 3%;
}

.note-two {
  top: 37%;
  right: -4%;
}

.note-three {
  bottom: 18%;
  left: 6%;
}

@keyframes float {
  0%,
  100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-13px); }
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 9vw;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:not(.eyebrow),
.intro-copy > p {
  color: var(--ink-soft);
}

.intro-copy {
  padding-top: 45px;
}

.intro-copy > p {
  margin: 0 0 20px;
  font-size: 1.15rem;
}

.values-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 35px;
}

.values-inline span {
  padding: 9px 13px;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.pharmacies {
  background: var(--cream);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.section-heading-row > p {
  max-width: 420px;
  margin: 0;
}

.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pharmacy-card {
  position: relative;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(9, 36, 29, 0.07);
  border-radius: 25px;
  box-shadow: 0 2px 0 rgba(9, 36, 29, 0.03);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pharmacy-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 82px;
  height: 82px;
  background: var(--green-pale);
  border-radius: 0 0 0 100%;
  content: "";
  transition: width 220ms ease, height 220ms ease;
}

.pharmacy-card:hover {
  border-color: rgba(7, 128, 74, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.pharmacy-card:hover::after {
  width: 104px;
  height: 104px;
}

.pharmacy-logo {
  display: grid;
  height: 150px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #fbfcfa;
  border-radius: 18px;
  place-items: center;
}

.pharmacy-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pharmacy-body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.pharmacy-body .location {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pharmacy-body h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pharmacy-body address {
  margin: 0 0 13px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-style: normal;
}

.phone {
  color: var(--green-dark);
  font-weight: 820;
  text-decoration: none;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 15px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
}

.card-link span {
  color: var(--green);
  font-size: 1.15rem;
}

.commitment {
  color: var(--white);
  background: var(--green-dark);
}

.commitment-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 9vw;
}

.commitment-visual {
  position: relative;
  padding: 48px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.commitment-visual p {
  margin: 34px 0 0;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.45;
}

.mosaic {
  display: grid;
  width: 240px;
  height: 240px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  margin: 0 auto;
  transform: rotate(5deg);
}

.mosaic span {
  display: block;
  border-radius: 12px;
}

.mosaic-yellow {
  background: var(--yellow);
  transform: translate(22%, -8%);
}

.mosaic-green-dark {
  background: #087640;
  transform: translate(-8%, 15%);
}

.mosaic-green {
  background: #55a630;
  transform: translate(15%, -8%);
}

.mosaic-pink {
  background: var(--pink);
  transform: translate(-8%, -22%);
}

.commitment-copy .eyebrow {
  color: #88e2b3;
}

.commitment-copy > h2 {
  margin: 0 0 44px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.commitment-list {
  display: grid;
  gap: 0;
}

.commitment-list > div {
  display: grid;
  grid-template-columns: 46px 160px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.commitment-list span {
  color: #88e2b3;
  font-size: 0.72rem;
  font-weight: 850;
}

.commitment-list h3,
.commitment-list p {
  margin: 0;
}

.commitment-list h3 {
  font-size: 1.08rem;
}

.commitment-list p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
}

.careers {
  background: linear-gradient(180deg, var(--white), #f5fbf7);
}

.careers-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding: 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 240, 82, 0.25), transparent 28%),
    linear-gradient(135deg, #07804a, #035b36);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(3, 91, 54, 0.18);
}

.careers-card .eyebrow {
  color: #a9f0ca;
}

.careers-card h2 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.careers-card p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.03rem;
}

.button-light {
  flex: 0 0 auto;
  color: var(--green-dark);
  background: var(--white);
}

.contact {
  padding-top: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
}

.contact .section-heading p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 25px;
}

.contact-actions {
  display: grid;
  align-content: center;
}

.contact-actions > a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-actions > a:first-child {
  border-top: 1px solid var(--line);
}

.contact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 850;
  place-items: center;
}

.contact-actions a > span:nth-child(2) {
  display: grid;
}

.contact-actions small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-actions strong {
  font-size: 1.05rem;
}

.site-footer {
  padding: 64px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #06261d;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 48px;
}

.brand-footer {
  color: var(--white);
}

.footer-main > p {
  max-width: 470px;
  margin: 0;
  font-size: 0.95rem;
}

.footer-main nav {
  display: grid;
  gap: 10px;
  justify-content: end;
}

.footer-main nav a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid,
  .intro-grid,
  .commitment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 142px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-mark {
    min-height: 430px;
  }

  .pharmacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitment-grid {
    gap: 70px;
  }

  .commitment-visual {
    max-width: 560px;
  }

  .careers-card {
    align-items: start;
    flex-direction: column;
    padding: 54px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
    --radius: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.56rem;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 68px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 19vw, 5.3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 38px;
  }

  .hero-trust div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero-trust strong {
    font-size: 1.45rem;
  }

  .hero-trust span {
    font-size: 0.63rem;
  }

  .hero-mark {
    min-height: 350px;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 420px;
    height: 420px;
  }

  .floating-note {
    font-size: 0.6rem;
  }

  .note-one {
    left: -2%;
  }

  .note-two {
    right: -3%;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .pharmacy-grid {
    grid-template-columns: 1fr;
  }

  .pharmacy-card {
    min-height: 420px;
  }

  .commitment-visual {
    padding: 34px;
  }

  .mosaic {
    width: 190px;
    height: 190px;
  }

  .commitment-list > div {
    grid-template-columns: 35px 1fr;
  }

  .commitment-list p {
    grid-column: 2;
  }

  .careers-card {
    padding: 38px 28px;
    border-radius: 26px;
  }

  .contact-actions > a {
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
  }

  .contact-actions strong {
    font-size: 0.9rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main nav {
    justify-content: start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
