/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  height: var(--header-height);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-purple)) 1;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 1;
  min-width: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}

.header__brand-bold {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary-darker);
}

.header__brand-light {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.header__brand-support {
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--color-primary-dark);
}

.campaign-bar {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border-bottom: 1px solid rgba(255, 193, 7, 0.45);
  color: var(--color-primary-darker);
  font-size: 0.78rem;
  font-weight: 600;
}

.campaign-bar__inner {
  padding: 0.42rem 1.25rem;
  text-align: center;
  line-height: 1.45;
}

.campaign-bar__arrow {
  display: inline-block;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: 0 0.15rem;
  transform: scaleX(-1);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__link {
  padding: 0.5rem 0.85rem;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.header__link:hover,
.header__link--active {
  color: var(--color-primary-dark);
  background: var(--color-mint);
}

.header__link--cta {
  background: var(--gradient-brand);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 169, 157, 0.3);
}

.header__link--cta:hover {
  background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
  color: #fff !important;
}

.header__link--order {
  background: #FFA500 !important;
  color: #000 !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.35);
}

.header__link--order:hover {
  background: #e69500 !important;
  color: #000 !important;
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-primary-darker);
}

.header__toggle svg {
  width: 28px;
  height: 28px;
}

.header__cta-mobile {
  display: none;
}

@media (max-width: 768px) {
  .header__toggle,
  .header__nav {
    display: none;
  }

  .header__inner {
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .header__cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header__logo img {
    height: 40px;
  }

  .header__brand-bold {
    font-size: 0.92rem;
  }

  .header__brand-light {
    font-size: 0.68rem;
  }

  .header__brand-support {
    font-size: 0.6rem;
  }

  .campaign-bar {
    font-size: 0.62rem;
  }

  .campaign-bar__inner {
    padding: 0.35rem 0.75rem;
    line-height: 1.35;
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    var(--gradient-hero-strong),
    var(--gradient-hero);
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-accent-soft) 100%);
  color: var(--color-primary-darker);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 169, 157, 0.15);
}

.hero__title {
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero__desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 169, 157, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cards */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
}

.card p,
.card li {
  text-align: justify;
  text-justify: inter-word;
}

.card h2,
.card h3,
.card h4 {
  text-align: right;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (max-width: 900px) {
  .card-grid--3,
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 { grid-template-columns: 1fr; }
}

.card--step {
  text-align: center;
}

.card--step img,
.card--step svg,
.card--step .step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: block;
}

.card--step .step-icon {
  font-size: 2.75rem;
  line-height: 1;
  color: var(--color-primary-dark);
}

.card--step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card--step p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.card-grid--4 .card:nth-child(1) { border-top-color: var(--color-primary); }
.card-grid--4 .card:nth-child(2) { border-top-color: var(--color-purple); }
.card-grid--4 .card:nth-child(3) { border-top-color: var(--color-coral); }
.card-grid--4 .card:nth-child(4) { border-top-color: var(--color-accent); background: linear-gradient(180deg, #fffef8 0%, #fff 40%); }

.card-grid--3 .card:nth-child(1) { border-top-color: var(--color-primary); }
.card-grid--3 .card:nth-child(2) { border-top-color: var(--color-purple); }
.card-grid--3 .card:nth-child(3) { border-top-color: var(--color-coral); }

/* Impact box */
.impact-box {
  background: linear-gradient(145deg, var(--color-primary-darker) 0%, #005a66 50%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impact-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 209, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.impact-box__label {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-darker);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.impact-box img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}

.impact-box p {
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
}

.split__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Alert / notice boxes */
.notice {
  border-right: 4px solid var(--color-primary);
  background: linear-gradient(90deg, var(--color-mint) 0%, rgba(255,255,255,0.6) 100%);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

.notice--dark {
  background: var(--color-primary-darker);
  color: #fff;
  border-right-color: var(--color-accent);
}

.notice--warning {
  border-right-color: var(--color-accent);
  background: rgba(255, 209, 0, 0.12);
}

/* Form */
.register-hero {
  margin-bottom: 0;
  width: 100%;
  text-align: center;
}

.register-hero .section__title {
  margin-bottom: 0;
}

.register-hero__pharmacy {
  min-height: 2.75rem;
  width: 100%;
  margin: 0.2rem 0 0;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: center;
  direction: rtl;
  font-family: 'Pelak', Tahoma, sans-serif;
  font-weight: 700;
  color: #003e48;
  font-size: 1.25rem;
  line-height: 2.75rem;
  white-space: nowrap;
  overflow: hidden;
}

.register-page .section__subtitle {
  margin-bottom: 1.25rem;
}

.register-page__notice {
  margin-bottom: 1rem;
}

.register-page .photo-guide {
  margin-bottom: 1rem;
  padding: 0.75rem;
  gap: 0.75rem;
}

.register-page .photo-guide img {
  width: 130px;
}

.register-page .aida-stats {
  margin-bottom: 1rem;
}

#register-form.card {
  padding: 1.15rem 1.25rem;
}

#register-form .form-group {
  margin-bottom: 0.85rem;
}

#register-form .form-group label {
  margin-bottom: 0.2rem;
}

#register-form .form-group input,
#register-form .form-group select {
  padding: 0.55rem 0.75rem;
}

#register-form .form-group .hint,
#register-form .form-group .error-msg {
  margin-top: 0.2rem;
}

#register-form .form-row {
  gap: 0.75rem;
}

#register-form .form-disclaimer {
  margin: 0.65rem 0 0.15rem;
  padding: 0.5rem 0.7rem;
}

#register-form .form-checkbox {
  gap: 0.45rem;
}

#register-form #phone {
  direction: ltr;
  text-align: left;
}

.form-page {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-surface);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15);
}

.form-group input[type="file"] {
  padding: 0.5rem;
}

.form-group .hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.form-group .error-msg {
  font-size: 0.85rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  display: none;
}

.form-group.is-invalid input,
.form-group.is-invalid select {
  border-color: var(--color-error);
}

.form-group.is-invalid .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
}

.form-alert.is-visible { display: block; }
.form-alert--error { background: #ffebee; color: var(--color-error); }
.form-alert--success { background: #e8f5e9; color: var(--color-success); }

.photo-guide {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-sky) 100%);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.photo-guide img {
  width: 160px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Thank you */
.thankyou {
  text-align: center;
  padding: 3rem 0;
  max-width: 520px;
  margin: 0 auto;
}

.thankyou__icon {
  position: absolute;
  inset: 8px;
  width: auto;
  height: auto;
  background: linear-gradient(135deg, var(--color-mint) 0%, #e8f5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--color-success);
  font-size: 2rem;
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-colored);
}

.thankyou__code {
  font-family: 'Courier New', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-bg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  letter-spacing: 2px;
  direction: ltr;
}

.thankyou__code-label {
  margin-top: 1.5rem;
  font-weight: 600;
}

.thankyou__message {
  line-height: 1.9;
  color: var(--color-text-muted);
}

.thankyou--celebrate {
  position: relative;
  overflow: hidden;
}

.thankyou__icon-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
}

.thankyou__rings {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(0, 150, 136, 0.35);
  border-radius: 50%;
  animation: thankyouRing 1.8s ease-out infinite;
}

.thankyou__rings::after {
  content: '';
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(0, 150, 136, 0.2);
  border-radius: 50%;
  animation: thankyouRing 1.8s ease-out 0.35s infinite;
}

.thankyou__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.thankyou__confetti span {
  position: absolute;
  top: -12%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 2.8s ease-in infinite;
}

.thankyou__confetti span:nth-child(1) { left: 8%; background: #00a896; animation-delay: 0.1s; }
.thankyou__confetti span:nth-child(2) { left: 18%; background: #f4a261; animation-delay: 0.35s; }
.thankyou__confetti span:nth-child(3) { left: 28%; background: #e76f51; animation-delay: 0.55s; }
.thankyou__confetti span:nth-child(4) { left: 38%; background: #2a9d8f; animation-delay: 0.2s; }
.thankyou__confetti span:nth-child(5) { left: 48%; background: #ffd166; animation-delay: 0.7s; }
.thankyou__confetti span:nth-child(6) { left: 58%; background: #00a896; animation-delay: 0.45s; }
.thankyou__confetti span:nth-child(7) { left: 68%; background: #f4a261; animation-delay: 0.15s; }
.thankyou__confetti span:nth-child(8) { left: 78%; background: #e76f51; animation-delay: 0.6s; }
.thankyou__confetti span:nth-child(9) { left: 88%; background: #2a9d8f; animation-delay: 0.3s; }
.thankyou__confetti span:nth-child(10) { left: 14%; background: #ffd166; animation-delay: 0.85s; }
.thankyou__confetti span:nth-child(11) { left: 52%; background: #00a896; animation-delay: 0.95s; }
.thankyou__confetti span:nth-child(12) { left: 72%; background: #ffd166; animation-delay: 1.05s; }

.thankyou--celebrate.is-celebrating .thankyou__icon {
  animation: thankyouPop 0.7s var(--ease-out) 0.15s both;
}

.submit-modal {
  z-index: 2100;
}

.submit-modal__panel {
  text-align: center;
  width: min(100%, 420px);
}

.submit-modal__spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-mint);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: submitSpin 0.9s linear infinite;
}

.submit-modal__text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.submit-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--color-mint);
  overflow: hidden;
}

.submit-progress__bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary) 0%, #2a9d8f 100%);
  transition: width 0.08s linear;
}

.submit-modal__percent {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

@keyframes submitSpin {
  to { transform: rotate(360deg); }
}

@keyframes thankyouRing {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes thankyouPop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(420px) rotate(540deg); opacity: 0; }
}

/* Footer */
.footer {
  background: var(--color-primary-darker);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer__logos a {
  display: block;
  line-height: 0;
  transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-fast);
}

.footer__logos a:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}

.footer__logos img {
  width: 150px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 auto 1.35rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast), border-color var(--duration-fast);
}

.footer__social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__social-link--instagram:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.35), rgba(253, 29, 29, 0.3));
}

.footer__social-link--linkedin:hover {
  background: rgba(10, 102, 194, 0.4);
}

/* Social follow cards */
.social-follow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.social-follow__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--color-primary-darker);
}

.social-follow__lead {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  text-align: right;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast), border-color var(--duration-fast);
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.social-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.social-card__icon svg {
  width: 24px;
  height: 24px;
}

.social-card--instagram .social-card__icon {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
}

.social-card--linkedin .social-card__icon {
  background: #0a66c2;
}

.social-card--instagram:hover {
  border-color: #dd2a7b;
}

.social-card--linkedin:hover {
  border-color: #0a66c2;
}

.social-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.social-card__name {
  font-weight: 700;
  color: var(--color-primary-darker);
}

.social-card__handle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  direction: ltr;
  text-align: right;
}

.social-card__action {
  margin-right: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.social-follow--compact .social-follow__title {
  font-size: 1.15rem;
}

.thankyou .social-follow {
  margin-top: 2rem;
  text-align: center;
}

.contact-social {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.contact-social .social-cards {
  grid-template-columns: 1fr;
}

@media (max-width: 560px) {
  .social-cards {
    grid-template-columns: 1fr;
  }

  .social-card__action {
    display: none;
  }
}

.footer__disclaimer {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
  opacity: 0.75;
}

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__legal {
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer__legal a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal a:hover {
  color: #fff;
}

/* Chart bars */
.bar-chart-wrap {
  max-width: 560px;
  margin: 0.5rem auto 0;
  padding: 1.75rem 1.5rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
  height: 220px;
  padding-top: 0;
}

.bar-chart__item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  justify-items: center;
  height: 100%;
  flex: 1;
  max-width: 72px;
  min-width: 0;
}

.bar-chart__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  grid-row: 1;
  white-space: nowrap;
}

.bar-chart__bar {
  grid-row: 2;
  align-self: end;
  width: 100%;
  max-width: 52px;
  height: 100%;
  max-height: 150px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 8px 8px 0 0;
  min-height: 24px;
}

.bar-chart__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 0.65rem;
  grid-row: 3;
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.timeline__step {
  text-align: center;
  position: relative;
}

.timeline__circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 169, 157, 0.35);
}

.timeline__label {
  font-size: 0.85rem;
  font-weight: 600;
}

.timeline__sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.timeline__line {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  opacity: 0.4;
  margin-bottom: 2rem;
}

/* HPV types */
.hpv-types {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.hpv-types__item {
  text-align: center;
}

.hpv-types__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  margin: 0 auto 0.35rem;
}

.hpv-types__circle--6 { background: #4caf50; }
.hpv-types__circle--11 { background: #2196f3; }
.hpv-types__circle--16 { background: var(--color-purple); }
.hpv-types__circle--18 { background: #ff9800; }

.hpv-types__label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* Page layout wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper main {
  flex: 1;
}

/* CTA band */
.cta-band {
  background: var(--gradient-brand);
  color: #fff;
  text-align: center;
  padding: 3rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 209, 0, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(166, 77, 121, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--color-primary-dark);
}

.cta-band .btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-primary-darker);
}

/* ── Bottom navigation (mobile) ── */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 62, 72, 0.1);
  }

  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.64rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
  }

  .bottom-nav__item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bottom-nav__item--active {
    color: var(--color-primary-dark);
  }

  .bottom-nav__item--active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 0 0 3px 3px;
  }

  .bottom-nav__item--cta {
    color: var(--color-primary-dark);
  }

  .bottom-nav__item--cta svg {
    background: var(--gradient-brand);
    color: #fff;
    stroke: #fff;
    border-radius: 50%;
    padding: 7px;
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 12px rgba(0, 169, 157, 0.35);
  }

  .bottom-nav__item--cta.bottom-nav__item--active svg {
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
  }
}

.macsa-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.macsa-hero h1 {
  margin: 0 auto 0.75rem;
  max-width: 28ch;
}

.macsa-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text);
}

.macsa-impact-title {
  color: #fff;
  margin-top: 0.15rem;
}

.macsa-mini-cards {
  margin-top: 1.25rem;
}

.macsa-mini-cards .card {
  border-top-color: var(--color-accent);
}

/* ── Live stats board ── */
.section--stats {
  background: linear-gradient(180deg, var(--color-mint) 0%, var(--color-bg) 100%);
}

.stats-board,
.stats-strip {
  background: linear-gradient(145deg, var(--color-primary-darker) 0%, #005a66 55%, var(--color-primary-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.stats-board::before,
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 209, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(166, 77, 121, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.stats-board > *,
.stats-strip > * {
  position: relative;
  z-index: 1;
}

.stats-board__header {
  text-align: center;
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem 1.1rem;
  color: var(--color-text);
}

.stats-board__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 62, 72, 0.08);
  color: var(--color-primary-darker);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.stats-board__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  animation: statsPulse 1.8s ease-out infinite;
}

@keyframes statsPulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.stats-board__title {
  color: var(--color-primary-darker);
  font-size: clamp(1.5rem, 3.6vw, 1.98rem);
  margin-bottom: 0.4rem;
}

.stats-board__title::after {
  display: none;
}

.stats-board__desc {
  color: var(--color-text-muted);
  opacity: 1;
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

.stats-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.stats-flow__side {
  text-align: center;
  min-width: 100px;
}

.stats-flow__num {
  display: block;
  font-size: clamp(1.8rem, 4.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: embed;
}

.stats-flow__num--accent {
  color: var(--color-accent);
}

.stats-flow__txt {
  font-size: 0.94rem;
  opacity: 0.92;
}

.stats-flow__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  opacity: 0.7;
}

.stats-flow__ratio {
  font-size: 0.85rem;
  font-weight: 600;
}

.stats-flow__arrow {
  width: 40px;
  height: 20px;
  color: var(--color-accent);
  transform: scaleX(-1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-card {
  position: relative;
  border: none;
  border-radius: var(--radius-sm);
  padding: 1.2rem 0.9rem;
  text-align: center;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  isolation: isolate;
}

.stats-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, var(--color-primary), #00d4c8);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.stats-card--primary {
  background: linear-gradient(145deg, #e0f5f3 0%, #ffffff 100%);
  color: #003e48;
}

.stats-card--primary::before {
  background: linear-gradient(135deg, #00a99d, #00897b, #00695c);
}

.stats-card--accent {
  background: linear-gradient(145deg, #fff8e1 0%, #fffdf5 100%);
  color: #4e342e;
}

.stats-card--accent::before {
  background: linear-gradient(135deg, #ffd100, #ffb300, #ff9800);
}

.stats-card--purple {
  background: linear-gradient(145deg, #4a148c 0%, #6a1b9a 100%);
  color: #ffffff;
}

.stats-card--purple::before {
  background: linear-gradient(135deg, #ce93d8, #ab47bc, #8e24aa);
}

.stats-card--coral {
  background: linear-gradient(145deg, #bf360c 0%, #d84315 100%);
  color: #ffffff;
}

.stats-card--coral::before {
  background: linear-gradient(135deg, #ffab91, #ff7043, #f4511e);
}

.stats-card__emoji {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.stats-card__num {
  display: block;
  font-size: clamp(1.62rem, 3.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: embed;
}

.stats-card__label {
  display: block;
  font-size: 0.86rem;
  opacity: 0.92;
  margin-top: 0.35rem;
  line-height: 1.5;
}

.stats-card--primary .stats-card__label,
.stats-card--accent .stats-card__label {
  color: inherit;
  opacity: 0.88;
}

.stats-card--purple .stats-card__label,
.stats-card--coral .stats-card__label {
  color: #ffffff;
  opacity: 0.95;
}

.stats-goal {
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.stats-goal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.06rem;
  margin-bottom: 0.6rem;
}

.stats-goal__top strong {
  font-size: 1.32rem;
  color: #2e7d32;
  direction: ltr;
  unicode-bidi: embed;
}

.stats-goal__track {
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.stats-goal__fill {
  height: 100%;
  background: linear-gradient(90deg, #1b5e20, #2e7d32);
  border-radius: 999px;
  width: 0;
  transition: width 1.2s var(--ease-out);
}

.stats-goal__hint {
  font-size: 0.94rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

/* ── FAQ accordion ── */
.section--faq {
  background: var(--color-surface);
}

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.faq__item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 169, 157, 0.12);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-primary-darker);
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-mint);
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--duration-fast), background var(--duration-fast);
}

.faq__item[open] .faq__question::after {
  content: '−';
  background: var(--color-primary);
  color: #fff;
}

.faq__answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  font-size: 0.95rem;
  border-top: 1px solid var(--color-border);
  text-align: justify;
  text-justify: inter-word;
}

.faq__answer p {
  margin-top: 0.85rem;
}

/* ── Clinical publication block ── */
.publication {
  max-width: 820px;
  margin: 2rem auto 0;
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.publication__badge {
  display: inline-block;
  background: var(--color-mint);
  color: var(--color-primary-darker);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.publication h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--color-primary-darker);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.publication p {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  text-align: justify;
  text-justify: inter-word;
}

.publication em {
  font-style: italic;
  color: var(--color-primary-dark);
}

.publication__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: opacity var(--duration-fast);
}

.publication__link:hover {
  opacity: 0.9;
  color: #fff;
}

/* ── HPV consequences card ── */
.card--consequences {
  max-width: 900px;
  margin: 1.5rem auto 0;
  border-right: 4px solid var(--color-coral);
}

.card--consequences h3 {
  color: var(--color-coral);
  margin-bottom: 1rem;
}

/* ── Form disclaimer ── */
.form-disclaimer {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 1rem 0 0.25rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.form-checkbox a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Compact strip — register page */
.stats-strip {
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
}

.stats-strip__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.65rem;
}

.stats-strip__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.stats-strip__item {
  text-align: center;
  min-width: 72px;
}

.stats-strip__item--accent .stats-strip__num {
  color: var(--color-accent);
}

.stats-strip__num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: embed;
}

.stats-strip__label {
  font-size: 0.68rem;
  opacity: 0.85;
}

.stats-strip__divider {
  opacity: 0.4;
  font-size: 1rem;
}

.stats-strip__msg {
  text-align: center;
  font-size: 0.82rem;
  margin-top: 0.75rem;
  opacity: 0.9;
}

.stats-strip__msg strong {
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .stats-board__dot {
    animation: none;
  }
  .stats-goal__fill {
    transition: none;
  }
}

/* ── Sero-conversion grouped chart ── */
.sero-chart {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.25rem;
  background: linear-gradient(160deg, #eef5f8 0%, #f8fbfc 45%, #eef4f6 100%);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.sero-chart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 20 30 30 T60 30' fill='none' stroke='%23c5dce6' stroke-width='0.5' opacity='0.4'/%3E%3C/svg%3E") repeat;
  opacity: 0.35;
  pointer-events: none;
}

.sero-chart > * {
  position: relative;
  z-index: 1;
}

.sero-chart__legend {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.sero-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sero-chart__swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.sero-chart__swatch--gardisun { background: #e8a4b8; }
.sero-chart__swatch--gardasil { background: #7ec8c8; }

.sero-chart__body {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.sero-chart__ylabel {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 600;
  color: #4a6570;
  text-align: center;
  flex-shrink: 0;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.sero-chart__plot {
  flex: 1;
  display: flex;
  gap: 0.35rem;
  min-width: 0;
}

.sero-chart__yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #5a6e72;
  padding-bottom: 1.75rem;
  direction: ltr;
  unicode-bidi: embed;
  flex-shrink: 0;
  min-height: 240px;
}

.sero-chart__yaxis-break {
  font-size: 0.85rem;
  line-height: 1;
  color: #5a7a88;
  opacity: 0.85;
  margin: -0.15rem 0;
}

.sero-chart__grid {
  flex: 1;
  border-left: 1.5px solid #5a7a88;
  border-bottom: 1.5px solid #5a7a88;
  background-image: repeating-linear-gradient(
    to top,
    transparent,
    transparent calc(20% - 1px),
    rgba(90, 122, 136, 0.18) calc(20% - 1px),
    rgba(90, 122, 136, 0.18) 20%
  );
  padding: 0 0.5rem 0;
  min-height: 260px;
}

.sero-chart__groups {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  min-height: 240px;
  padding-top: 1.5rem;
}

.sero-chart__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 110px;
}

.sero-chart__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  height: 200px;
  width: 100%;
}

.sero-chart__bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  flex: 1;
  max-width: 36px;
}

.sero-chart__val {
  font-size: 0.68rem;
  font-weight: 600;
  color: #4a6570;
  margin-bottom: 0.2rem;
  direction: ltr;
  unicode-bidi: embed;
  white-space: nowrap;
}

.sero-chart__bar {
  width: 100%;
  max-width: 32px;
  height: var(--h, 50%);
  border-radius: 999px 999px 4px 4px;
  min-height: 8px;
}

.sero-chart__bar--gardisun { background: #e8a4b8; }
.sero-chart__bar--gardasil { background: #7ec8c8; }

.sero-chart__xlabel {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a6570;
  direction: ltr;
  unicode-bidi: embed;
}

.sero-chart__caption {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4a6570;
  margin-top: 1.25rem;
  direction: ltr;
  unicode-bidi: embed;
}

.sero-chart__note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 0.45rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .sero-chart__ylabel {
    font-size: 0.62rem;
  }
  .sero-chart__val {
    font-size: 0.6rem;
  }
  .sero-chart__bars {
    gap: 0.2rem;
  }
}

/* ── UID help & modal ── */
.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.form-label-row > span {
  font-weight: 600;
  font-size: 0.95rem;
}

.uid-help-link {
  border: none;
  background: none;
  color: var(--color-error);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.uid-help-link:hover {
  color: #a31515;
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 36, 0.55);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  animation: modalIn 0.32s var(--ease-out);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-mint);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  color: var(--color-primary-darker);
}

.modal__img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  background: #f5f8f9;
}

.modal__img-wrap img {
  width: 100%;
  display: block;
}

.modal__body {
  font-size: 0.92rem;
  line-height: 1.85;
}

.modal__body ul {
  margin: 0.75rem 1.25rem 0.75rem 0;
}

.modal__body code {
  background: var(--color-mint);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
  direction: ltr;
  unicode-bidi: embed;
}

/* ── Modern file upload ── */
.file-drop {
  position: relative;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fcfb 0%, #f0f7f9 100%);
  transition: border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
  cursor: pointer;
  overflow: hidden;
}

.file-drop:hover,
.file-drop--drag {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #eef9f7 0%, #e8f4f8 100%);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.12);
}

.file-drop--filled {
  cursor: default;
  border-style: solid;
}

.file-drop__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-drop__empty {
  padding: 2rem 1.25rem;
  text-align: center;
}

.file-drop__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin: 0 auto 0.75rem;
}

.file-drop__title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.file-drop__hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.file-drop__btn {
  pointer-events: auto;
}

.file-drop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.file-drop__actions .file-drop__btn {
  flex: 1 1 9.5rem;
  max-width: 100%;
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

.file-drop__preview {
  padding: 1rem;
}

.file-drop__preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
}

.file-drop__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.file-drop__remove {
  border: none;
  background: none;
  color: var(--color-error);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.file-drop__remove:hover {
  text-decoration: underline;
}

.form-group.is-invalid .file-drop {
  border-color: var(--color-error);
}

/* ── Shamsi date picker ── */
.shamsi-date {
  position: relative;
}

.shamsi-date__field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.shamsi-date__display {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shamsi-date__display:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15);
}

.shamsi-date__trigger {
  flex-shrink: 0;
  width: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-mint) 0%, #f0f8fa 100%);
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-fast), transform var(--duration-fast);
}

.shamsi-date__trigger:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.shamsi-date--open .shamsi-date__trigger {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.12);
}

.shamsi-date__popup {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  left: 0;
  z-index: 50;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem;
  animation: modalIn 0.22s var(--ease-out);
}

.shamsi-date__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.shamsi-date__title {
  font-weight: 700;
  color: var(--color-primary-darker);
  font-size: 0.95rem;
}

.shamsi-date__nav {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--color-mint);
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.shamsi-date__nav:hover {
  background: var(--color-primary);
  color: #fff;
}

.shamsi-date__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}

.shamsi-date__wd {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.2rem 0 0.35rem;
}

.shamsi-date__day {
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--duration-fast), color var(--duration-fast);
}

.shamsi-date__day:hover:not(:disabled) {
  background: var(--color-mint);
}

.shamsi-date__day--today {
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
}

.shamsi-date__day--selected {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.shamsi-date__day--selected:hover {
  background: var(--color-primary-dark);
}

.shamsi-date__day--blank {
  pointer-events: none;
}

.shamsi-date__day--disabled,
.shamsi-date__day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.form-group.is-invalid .shamsi-date__display {
  border-color: var(--color-error);
}

/* ── Pharmacy directory ── */
.pharmacy-hero {
  padding-bottom: 0.5rem;
}

.section--tight {
  padding-top: 0;
}

.pharmacy-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  height: var(--pharmacy-bar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 62, 72, 0.1);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-purple)) 1;
}

.page-pharmacies .pharmacy-sticky-bar {
  bottom: 0;
}

@media (max-width: 768px) {
  .page-pharmacies .pharmacy-sticky-bar {
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }
}

.pharmacy-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.pharmacy-sticky-bar__meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.pharmacy-sticky-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 999px;
  background: #FFA500;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.35);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
  white-space: nowrap;
}

.pharmacy-sticky-bar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.4);
}

.pharmacy-sticky-bar__btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.pharmacy-sticky-bar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: #e65100;
  font-size: 0.75rem;
  font-weight: 800;
}

.pharmacy-modal-filters {
  display: grid;
  gap: 1rem;
}

.pharmacy-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.pharmacy-modal-actions .btn {
  flex: 1;
}

.modal__panel--filters {
  width: min(100%, 420px);
}

.pharmacy-search {
  position: relative;
}

.pharmacy-search__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 2;
  pointer-events: none;
}

.pharmacy-search__input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font: inherit;
  color: var(--color-text);
  box-shadow: var(--shadow);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.pharmacy-search__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.15);
}

.pharmacy-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.pharmacy-filter {
  margin: 0;
}

.pharmacy-filter label {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.pharmacy-meta {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.tapsi-card {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tapsi-card__media {
  display: block;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.tapsi-card__banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tapsi-card__body {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.tapsi-card__header {
  display: grid;
  gap: 0.25rem;
}

.tapsi-card__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.4;
  color: var(--color-primary-darker);
}

.tapsi-card__subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.tapsi-card__cities,
.tapsi-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tapsi-card__cities {
  flex-wrap: wrap;
}

.tapsi-card__cities li {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--color-mint);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
}

.tapsi-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.tapsi-card__tag--delivery {
  background: #ffe8e2;
  color: #c24737;
}

.tapsi-card__tag--cold {
  background: var(--color-sky);
  color: #1f6f86;
}

.tapsi-card__tag--installment {
  background: var(--color-lavender);
  color: #7a3d5f;
}

.tapsi-card__tag--delivery::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7zM6 18a2 2 0 100-4 2 2 0 000 4zm11 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7zM6 18a2 2 0 100-4 2 2 0 000 4zm11 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tapsi-card__tag--cold::before {
  content: '❄';
  font-size: 0.62rem;
  line-height: 1;
}

.tapsi-card__tag--installment::before {
  content: '٪';
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
}

.tapsi-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.tapsi-card__site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  align-self: center;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
}

.tapsi-card__site::before {
  content: '';
  width: 0.95rem;
  height: 0.95rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 010 18M12 3a15 15 0 000 18'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 010 18M12 3a15 15 0 000 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tapsi-card__site:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.tapsi-card__cta {
  width: 100%;
  text-align: center;
}

.pharmacy-list-heading {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--color-primary-darker);
}

.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .tapsi-card {
    grid-template-columns: minmax(240px, 1fr) 1.2fr;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .tapsi-card__footer {
    margin-top: 0.5rem;
  }

  .tapsi-card__tags {
    flex-wrap: wrap;
    overflow: visible;
  }
}

.pharmacy-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.pharmacy-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pharmacy-card__head {
  display: grid;
  gap: 0.55rem;
}

.pharmacy-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-primary-darker);
}

.pharmacy-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pharmacy-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.pharmacy-badge--city {
  background: var(--color-mint);
  color: var(--color-primary-dark);
}

.pharmacy-badge--region {
  background: var(--color-sky);
  color: var(--color-primary-darker);
}

.pharmacy-badge--available {
  background: #e8f5e9;
  color: var(--color-success);
  gap: 0.3rem;
}

.pharmacy-badge__check {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

.pharmacy-card__body {
  flex: 1;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.pharmacy-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pharmacy-card__btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  text-align: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
}

.pharmacy-card__phone-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  direction: rtl;
  unicode-bidi: isolate;
}

.pharmacy-phone {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pharmacy-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-text-muted);
}

.pharmacy-empty__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pharmacy-notice {
  margin-top: 2rem;
}

.pharmacy-error {
  color: var(--color-error);
  text-align: center;
  padding: 2rem 1rem;
}

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

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-form {
  padding: 1.5rem;
}

.contact-success {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.contact-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-mint) 0%, #e8f5e9 100%);
  color: var(--color-success);
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-colored);
}

.contact-success__icon svg {
  width: 2rem;
  height: 2rem;
}

.contact-success__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--color-primary-darker);
}

.contact-success__text {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.contact-partners {
  padding: 0.25rem 0;
}

.contact-partners__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--color-primary-darker);
}

.contact-partners__lead {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.partner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.partner-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.partner-card img {
  grid-row: 1 / span 2;
  width: 52px;
  height: auto;
  object-fit: contain;
}

.partner-card__name {
  font-weight: 700;
  color: var(--color-primary-darker);
}

.partner-card__url {
  font-size: 0.82rem;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Hero intro (stacked lines) ── */
.hero__intro {
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.hero__intro p {
  margin: 0.35rem 0;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hero__intro p:first-child {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.hero__intro-gap-before {
  margin-top: 0.85rem !important;
}

/* ── Aida campaign highlight copy ── */
.aida-intro-highlight {
  background: #ffd166;
  color: #000;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  text-align: justify;
}

.aida-tagline {
  display: inline-block;
  background: linear-gradient(transparent 55%, #ffd166 55%);
  color: #000;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.9;
  margin: 0.5rem 0 1rem;
  padding: 0 0.15rem;
}

.card__title--single-line {
  white-space: nowrap;
  font-size: clamp(0.82rem, 1.55vw, 1.05rem);
}

/* ── Section lead paragraph ── */
.section__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-darker);
  line-height: 1.8;
}

/* ── Macsa timeline ── */
.macsa-timeline {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
}

.macsa-timeline__item {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border-top: 4px solid var(--color-purple);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.macsa-timeline__bridge {
  flex: 0 0 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.25rem 0;
  text-align: center;
}

.macsa-timeline__bridge-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary-darker);
}

.macsa-timeline__arrow {
  position: relative;
  width: 100%;
  max-width: 6.5rem;
  height: 2rem;
  color: var(--color-text);
}

.macsa-timeline__arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
}

.macsa-timeline__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.macsa-timeline__arrow-when {
  position: absolute;
  top: -0.15rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #c62828;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.1rem 0.35rem;
  border: 2px solid #c62828;
  border-radius: 4px;
  white-space: nowrap;
}

.macsa-timeline__item--current {
  border-top-color: var(--color-primary);
  background: linear-gradient(180deg, var(--color-mint) 0%, #fff 55%);
}

.macsa-timeline__when {
  display: inline-block;
  background: var(--color-surface-alt);
  color: var(--color-primary-darker);
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.macsa-timeline__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.macsa-timeline__item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

/* ── Age circles (Gardisun) ── */
.age-circles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.age-circles__item {
  text-align: center;
  max-width: 200px;
}

.age-circles__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  margin: 0 auto 0.75rem;
  box-shadow: 0 6px 20px rgba(0, 169, 157, 0.25);
}

.age-circles__item--lg .age-circles__circle {
  width: 140px;
  height: 140px;
  font-size: 1rem;
}

.age-circles__item--md .age-circles__circle {
  width: 110px;
  height: 110px;
  font-size: 0.9rem;
}

.age-circles__item--sm .age-circles__circle {
  width: 88px;
  height: 88px;
  font-size: 0.82rem;
}

.age-circles__item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ── Social impact photo ── */
.impact-box img.impact-box__photo {
  max-width: 560px;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ── Navigation modal (pharmacies) ── */
.modal__panel--nav {
  max-width: 400px;
}

.nav-modal__address {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
  text-align: justify;
}

.nav-modal__apps {
  display: grid;
  gap: 0.65rem;
}

.nav-modal__app {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.nav-modal__app:hover {
  border-color: var(--nav-app-color, var(--color-primary));
  background: var(--color-surface-alt);
}

.nav-modal__app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-modal__app-icon svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .macsa-timeline {
    flex-direction: column;
    gap: 0;
    margin: 1.5rem 0 1rem;
  }

  .macsa-timeline__item {
    width: 100%;
  }

  .macsa-timeline__bridge {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0.6rem 0;
    padding: 0.85rem 1rem;
    background: rgba(0, 150, 136, 0.06);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--color-primary);
    gap: 0.5rem;
  }

  .macsa-timeline__bridge-label {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .macsa-timeline__arrow {
    width: auto;
    height: auto;
    max-width: none;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
  }

  .macsa-timeline__arrow::before {
    content: '↓';
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary-darker);
  }

  .macsa-timeline__arrow::after {
    display: none;
  }

  .macsa-timeline__arrow-when {
    position: static;
    transform: none;
    display: inline-block;
    margin: 0;
  }

  .card__title--single-line {
    white-space: normal;
    font-size: 1.05rem;
  }
}
