/* =========================================================
   Vitalis Health Checkup — static stylesheet
   Design tokens ported 1:1 from the original Tailwind theme.
   No build step required.
   ========================================================= */

:root {
  --radius: 1.25rem;
  --radius-sm: calc(var(--radius) - 8px);
  --radius-md: calc(var(--radius) - 4px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  /* sRGB fallbacks first — browsers without oklch() support (Safari < 15.4,
     older Android WebView) keep the last declaration they can parse. */
  --background: #fcfeff;
  --foreground: #0c2036;
  --card: #ffffff;
  --primary: #00549b;
  --primary-foreground: #f9fcff;
  --secondary: #e9f4fa;
  --secondary-foreground: #003c6c;
  --muted: #edf5f9;
  --muted-foreground: #5c6e80;
  --accent: #cff3f5;
  --destructive: #d73431;
  --border: #dbe5eb;
  --ring: #0097ab;
  --teal: #009da0;
  --aqua: #9ae0df;
  --success: #2c965d;
  --warning: #eb881f;
  --whatsapp: #37a953;
  --whatsapp-foreground: #ffffff;
  --surface: #f0f8fd;

  --background: oklch(0.995 0.003 240);
  --foreground: oklch(0.24 0.05 253);
  --card: oklch(1 0 0);
  --primary: oklch(0.44 0.14 249);
  --primary-foreground: oklch(0.99 0.005 240);
  --secondary: oklch(0.96 0.014 236);
  --secondary-foreground: oklch(0.35 0.1 249);
  --muted: oklch(0.965 0.01 236);
  --muted-foreground: oklch(0.53 0.035 249);
  --accent: oklch(0.94 0.038 200);
  --border: oklch(0.916 0.014 235);
  --ring: oklch(0.62 0.11 210);
  --teal: oklch(0.63 0.11 197);
  --aqua: oklch(0.86 0.07 195);
  --success: oklch(0.6 0.13 155);
  --warning: oklch(0.72 0.16 60);
  --whatsapp: oklch(0.65 0.16 148);
  --whatsapp-foreground: oklch(1 0 0);
  --surface: oklch(0.975 0.011 232);

  --shadow-soft: 0 1px 2px rgba(20, 68, 110, 0.04), 0 8px 24px rgba(20, 68, 110, 0.07);
  --shadow-lift: 0 2px 6px rgba(20, 68, 110, 0.06), 0 18px 44px rgba(20, 68, 110, 0.12);

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.18;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-md) 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- layout primitives ---------- */
.container-page {
  margin-inline: auto;
  width: 100%;
  max-width: 80rem;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container-page {
    padding-inline: 2rem;
  }
}

.narrow {
  max-width: 48rem;
}

.section {
  padding-block: 3.5rem;
}

.section-sm {
  padding-block: 2.5rem;
}

.section-tight {
  padding-bottom: 3rem;
}

.section-alt {
  background-color: var(--surface);
  border-block: 1px solid var(--border);
}

.stack > * + * {
  margin-top: 0.75rem;
}

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

.grid-tight {
  gap: 0.75rem;
}

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

@media (min-width: 640px) {
  .sm-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg-split {
    grid-template-columns: 1.4fr 1fr;
  }

  .lg-hero {
    grid-template-columns: 1.15fr 1fr;
  }
}


/* ---------- surfaces ---------- */
.surface-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.card-pad {
  padding: 1.25rem;
}

.card-pad-lg {
  padding: 1.5rem;
}

.card-pad-xl {
  padding: 2rem;
}

@media (min-width: 768px) {
  .card-pad-xl {
    padding: 2.5rem;
  }
}

.hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.hero-gradient {
  background:
    radial-gradient(60rem 34rem at 82% -12%, oklch(0.86 0.07 195 / 0.55), transparent 62%),
    radial-gradient(48rem 30rem at 6% 0%, oklch(0.75 0.09 240 / 0.35), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--background));
  border-bottom: 1px solid var(--border);
}

.brand-gradient-text {
  /* solid fallback: without background-clip:text the gradient version
     would render the heading invisible */
  color: var(--primary);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-gradient-text {
    background: linear-gradient(96deg, var(--primary), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}

.muted {
  color: var(--muted-foreground);
}

.small {
  font-size: 0.875rem;
  line-height: 1.65;
}

.xs {
  font-size: 0.75rem;
  line-height: 1.6;
}

.lead {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .lead {
    font-size: 1.0625rem;
  }
}

.h1 {
  font-size: 1.875rem;
  font-weight: 800;
}

.h1-xl {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.08;
}

.h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .h1 {
    font-size: 2.25rem;
  }

  .h1-xl {
    font-size: 3.25rem;
  }

  .h2 {
    font-size: 1.875rem;
  }
}

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.clamp-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* ---------- icons ---------- */
.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-lg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-teal {
  color: var(--teal);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  background-color: var(--primary);
  color: var(--primary-foreground);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

.btn-flex {
  flex: 1 1 auto;
}

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

.btn-outline:hover {
  background-color: var(--secondary);
  filter: none;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--whatsapp-foreground);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

.btn-icon {
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- badges & chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid transparent;
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-outline {
  background-color: transparent;
  color: var(--muted-foreground);
  border-color: var(--border);
}

.badge-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s ease;
}

.chip:hover {
  background-color: var(--secondary);
}

.chip[aria-pressed="true"] {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: #fcfeffdb;
  background-color: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-2xl);
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.brand-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
  }
}

.nav-link {
  border-radius: 999px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.call-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.call-link:hover {
  background-color: var(--secondary);
}

@media (min-width: 768px) {
  .call-link {
    display: inline-flex;
  }
}

.header-wa {
  display: none;
}

@media (min-width: 640px) {
  .header-wa {
    display: inline-flex;
  }
}

.menu-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

/* ---------- mobile drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 32, 54, 0.45);
  background: oklch(0.24 0.05 253 / 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 86vw;
  max-width: 24rem;
  background-color: var(--background);
  border-left: 1px solid var(--border);
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

body.drawer-open .drawer {
  transform: translateX(0);
}

body.drawer-open,
body.dialog-open {
  overflow: hidden;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
}

.drawer-link {
  display: block;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.drawer-link:hover {
  background-color: var(--secondary);
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  margin-bottom: 1.25rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

.breadcrumbs a:hover {
  color: var(--foreground);
}

.breadcrumbs [aria-current="page"] {
  font-weight: 500;
  color: var(--foreground);
}

/* ---------- page header ---------- */
.page-header {
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  padding-block: 2.5rem;
}

@media (min-width: 768px) {
  .page-header {
    padding-block: 3.5rem;
  }
}

.section-heading {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading > div {
  max-width: 42rem;
}

.section-heading h2 {
  margin-top: 0.5rem;
}

/* ---------- forms ---------- */
.field {
  display: grid;
  gap: 0.5rem;
}

.label {
  font-size: 0.8125rem;
  font-weight: 600;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--ring);
}

.input-lg,
.select-lg {
  height: 3rem;
  padding-block: 0;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%),
    linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.search-wrap {
  position: relative;
}

.search-wrap .icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}

.search-wrap .input {
  padding-left: 2.5rem;
}

.search-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .search-row {
    grid-template-columns: 1.6fr 1fr;
  }
}

.filter-bar {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .filter-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .filter-bar .span-2 {
    grid-column: span 2;
  }

  .filter-bar .span-4 {
    grid-column: span 4;
  }
}

/* ---------- dialog ---------- */
.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 32, 54, 0.5);
  background: oklch(0.24 0.05 253 / 0.5);
}

body.dialog-open .dialog-overlay {
  display: flex;
}

.dialog {
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  padding: 1.5rem;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dialog-body {
  display: grid;
  gap: 1rem;
}

.note-box {
  border-radius: var(--radius-md);
  background-color: var(--secondary);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- accordion ---------- */
.accordion {
  padding-inline: 1.25rem;
}

.accordion details {
  border-bottom: 1px solid var(--border);
}

.accordion details:last-child {
  border-bottom: 0;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary .icon {
  transition: transform 0.2s ease;
  color: var(--muted-foreground);
}

.accordion details[open] summary .icon {
  transform: rotate(180deg);
}

.accordion .accordion-body {
  padding-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ---------- cards: package / test ---------- */
.item-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* default card padding; .card-pad-lg on the same element still wins */
.item-card:not([class*="card-pad"]) {
  padding: 1.25rem;
}

.item-card h3 a:hover {
  color: var(--primary);
}

.meta-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.meta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-lg {
  font-size: 1.875rem;
}

.price-old {
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.price-off {
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-actions .btn {
  min-width: 0;
}

.card-actions .btn-flex {
  flex: 1 1 9rem;
}

.push-bottom {
  margin-top: auto;
}

.check-list {
  display: grid;
  gap: 0.375rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.check-list li {
  display: flex;
  gap: 0.5rem;
}

.check-list .icon {
  margin-top: 0.2rem;
  color: var(--teal);
}

.bullet-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.bullet-list li::before {
  content: "• ";
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.inline-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .stat-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  padding: 1rem;
}

.stat dt {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.stat dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.buy-box {
  height: fit-content;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .buy-box {
    position: sticky;
    top: 6rem;
  }
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: var(--radius-md);
  background-color: var(--secondary);
  color: var(--primary);
}

.category-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.category-card:hover {
  color: var(--primary);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.suggestions {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.suggestions li + li {
  border-top: 1px solid var(--border);
}

.suggestions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.suggestions a:hover {
  background-color: var(--secondary);
}

.article-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.article-body p + p {
  margin-top: 1.25rem;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.is-hidden {
  display: none !important;
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-contact {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-contact li {
  display: flex;
  gap: 0.625rem;
}

.footer-contact .icon {
  margin-top: 0.2rem;
}

.footer-legal {
  border-top: 1px solid var(--border);
}

.footer-legal .container-page {
  padding-block: 2rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ---------- sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  border-top: 1px solid var(--border);
  background-color: #fcfefff2;
  background-color: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-cta .call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
}

.mobile-cta .wa {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  border-radius: var(--radius-2xl);
  background-color: var(--whatsapp);
  color: var(--whatsapp-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.cta-spacer {
  height: 5rem;
}

.float-wa {
  display: none;
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--whatsapp);
  color: var(--whatsapp-foreground);
  box-shadow: var(--shadow-lift);
  transition: transform 0.2s ease;
}

.float-wa:hover {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .mobile-cta,
  .cta-spacer {
    display: none;
  }

  .float-wa {
    display: inline-flex;
  }
}

/* ---------- 404 ---------- */
.error-page {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

@media print {
  .site-header,
  .mobile-cta,
  .float-wa,
  .cta-spacer,
  .drawer,
  .drawer-overlay {
    display: none !important;
  }
}

/* =========================================================
   Partner branding
   ========================================================= */
.topbar {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}

.topbar-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.topbar-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
  color: var(--primary);
}

.topbar-meta {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted-foreground);
}

@media (min-width: 1024px) {
  .topbar-meta {
    display: inline-flex;
  }
}

.partner-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.partner-lockup img {
  height: 2rem;
  width: auto;
  flex: none;
}

.partner-lockup.compact img {
  height: 1.375rem;
}

.partner-lockup.full {
  gap: 0.875rem;
}

.partner-lockup.full img {
  height: 2.75rem;
}

.partner-label {
  display: grid;
  line-height: 1.25;
}

.partner-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

.partner-lockup.compact .partner-status {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.partner-code {
  font-size: 0.6875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted-foreground);
}

.footer-partner {
  display: inline-block;
  margin-top: 1.25rem;
}

.partner-strip {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.partner-strip-copy {
  display: grid;
  gap: 0.375rem;
}

.partner-strip:hover {
  box-shadow: var(--shadow-lift);
}

@media (min-width: 900px) {
  .partner-strip {
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
  }
}

.partner-hero {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .partner-hero {
    grid-template-columns: 1.3fr 1fr;
  }
}

.partner-card {
  padding: 1.5rem;
}

.partner-facts {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.partner-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.partner-facts > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.partner-facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.partner-facts dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: right;
}

/* unreplaced placeholder values render as a warning, not as content */
.partner-facts dd.flag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  color: var(--warning);
  background: #fff6e5;
  border: 1px dashed var(--warning);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.5rem;
}

/* =========================================================
   Editorial images (health guide posts)
   ========================================================= */
.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--muted);
}

.post-hero {
  width: 100%;
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  object-fit: cover;
  background: var(--muted);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-block: 1.5rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  color: var(--foreground);
}

.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.5rem;
  color: var(--foreground);
}

.article-body ul,
.article-body ol {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.article-body ul li { list-style: disc; margin-bottom: 0.4rem; }
.article-body ol li { list-style: decimal; margin-bottom: 0.4rem; }

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--teal);
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--muted-foreground);
}

.partner-code.flag {
  color: var(--warning);
  font-weight: 700;
}
