/* ONC Pharmaceutical — Main Styles */

:root {
  --brand: #8a0023;
  --brand-dark: #6d001c;
  --brand-light: #f8eef1;
  --brand-muted: rgba(138, 0, 35, 0.08);

  --text: #1a1a1f;
  --text-secondary: #5c5c66;
  --text-muted: #8a8a96;

  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e8e8ec;
  --border-light: #f0f0f4;

  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(26, 26, 31, 0.04);
  --shadow-md: 0 8px 30px rgba(26, 26, 31, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 26, 31, 0.08);

  --header-topbar-h: 48px;
  --header-main-h: 92px;
  --header-h: calc(var(--header-topbar-h) + var(--header-main-h));
  --container: min(1200px, 100% - 3rem);
  --hero-pad-x: clamp(2rem, 6vw, 5rem);
  --section-pad: clamp(2.5rem, 5vw, 3.75rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--brand);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

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

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

body {
  position: relative;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

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

/* Vivid stroke icons site-wide */
svg[stroke] {
  stroke: currentColor;
  stroke-width: 2;
  opacity: 1;
}

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

a:visited {
  color: inherit;
}

ul {
  list-style: none;
}

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

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

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

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lead {
  margin-top: 1rem;
  max-width: 56ch;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(138, 0, 35, 0.2);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn--primary:active,
.btn--primary:visited {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 8px 28px rgba(138, 0, 35, 0.28);
}

.btn--primary svg {
  color: currentColor;
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--text {
  padding: 0.5rem 0;
  color: var(--brand);
  font-weight: 500;
}

.btn--text:hover {
  opacity: 0.8;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.header-cta .btn:hover svg,
.nav-mobile .btn.btn--primary:hover svg {
  transform: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid rgba(26, 26, 31, 0.08);
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  --header-h: var(--header-main-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

/* Top bar — contact & language */
.header-topbar {
  min-height: var(--header-topbar-h);
  max-height: 5rem;
  padding-block: 0.5rem;
  background: var(--brand);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  overflow: visible;
  transition:
    max-height 0.4s var(--ease),
    padding 0.4s var(--ease),
    opacity 0.3s var(--ease),
    border-width 0.3s var(--ease);
}

.site-header.is-scrolled .header-topbar {
  max-height: 0;
  min-height: 0;
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom-width: 0;
  overflow: hidden;
}

.header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.header-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  min-width: 0;
}

.header-contact li {
  display: flex;
  align-items: center;
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s, opacity 0.2s;
}

.header-contact a:hover,
.header-contact a:focus-visible,
.header-contact a:active,
.header-contact a:visited {
  color: #fff;
  opacity: 0.9;
}

.header-contact a:hover svg {
  transform: scale(1.08);
}

.header-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #ffffff;
  stroke: currentColor;
  opacity: 1;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.15));
  transition: transform 0.2s var(--ease);
}

.header-contact__address {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
}

.header-contact__address svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #ffffff;
  stroke: currentColor;
  opacity: 1;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.15));
}

/* Language switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lang-switcher__toggle:hover,
.lang-switcher__toggle:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.lang-switcher__icon {
  width: 14px;
  height: 14px;
}

.lang-switcher__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 148px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  list-style: none;
}

.lang-switcher__menu[hidden] {
  display: none !important;
}

.lang-switcher.is-open .lang-switcher__menu {
  display: flex;
}

.lang-switcher__menu li button,
.lang-switcher__menu li a.lang-switcher__link {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.lang-switcher__menu li button:hover,
.lang-switcher__menu li a.lang-switcher__link:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.lang-switcher__menu li button[aria-selected="true"],
.lang-switcher__menu li a.lang-switcher__link[aria-selected="true"] {
  background: var(--brand-muted);
  color: var(--brand);
}

.nav-mobile__lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.nav-mobile__lang-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  text-decoration: none;
}

.nav-mobile__lang-link.is-active,
.nav-mobile__lang-link:hover {
  background: var(--brand-muted);
  color: var(--brand);
  border-color: var(--brand);
}

/* Main header row */
.header-main {
  height: var(--header-main-h);
  overflow: visible;
  background: transparent;
  transition: background 0.35s var(--ease);
}

.site-header.is-scrolled .header-main {
  background: transparent;
}

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

.logo__img,
.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  overflow: visible;
}

.nav-desktop > a,
.nav-item__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 450;
  line-height: 1;
  color: var(--text);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.25s var(--ease);
  box-sizing: border-box;
}

.nav-desktop > a::after,
.nav-item__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.nav-desktop > a:hover,
.nav-desktop > a.is-active,
.nav-item__trigger:hover,
.nav-item--dropdown.is-open .nav-item__trigger {
  color: var(--brand);
}

.nav-desktop > a:hover::after,
.nav-desktop > a.is-active::after,
.nav-item__trigger:hover::after,
.nav-item--dropdown.is-open .nav-item__trigger::after {
  transform: scaleX(1);
}

.nav-dropdown__link::after {
  display: none;
}

/* Nav dropdown */
.nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item__trigger {
  gap: 0.3rem;
  font-family: inherit;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
}

.nav-item__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.nav-item--dropdown.is-open .nav-item__chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: fixed;
  top: calc(var(--header-h) + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 2.5rem));
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 120;
  list-style: none;
  margin: 0;
}

.nav-dropdown[hidden] {
  display: none;
}

.nav-item--dropdown.is-open .nav-dropdown:not([hidden]) {
  animation: navDropdownIn 0.32s var(--ease) forwards;
}

@keyframes navDropdownIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color 0.22s var(--ease);
}

.nav-dropdown__link:hover .nav-dropdown__label {
  color: var(--brand);
}

.nav-dropdown__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-muted);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.nav-dropdown__icon svg {
  width: 22px;
  height: 22px;
}

.nav-dropdown__link:hover .nav-dropdown__icon {
  background: var(--brand-muted);
  color: var(--brand);
}

.nav-dropdown__label {
  line-height: 1.4;
  color: var(--text-secondary);
  transition: color 0.22s var(--ease);
}

.nav-dropdown--products {
  width: min(1200px, calc(100vw - 3rem));
  max-height: none;
  overflow-y: visible;
  padding: 1rem 1.25rem;
  gap: 0.35rem 0.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.nav-dropdown--products .nav-dropdown__link {
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
}

.nav-dropdown--products .nav-dropdown__icon {
  width: 34px;
  height: 34px;
}

.nav-dropdown--products .nav-dropdown__icon svg {
  width: 15px;
  height: 15px;
}

.nav-dropdown--products .nav-dropdown__label {
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .nav-dropdown--products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-dropdown--products {
    grid-template-columns: repeat(2, 1fr);
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.menu-toggle:hover {
  background: var(--brand-muted);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--surface);
  padding: max(4.25rem, env(safe-area-inset-top) + 3rem) 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile__close {
  position: absolute;
  top: max(0.85rem, env(safe-area-inset-top));
  right: max(0.85rem, env(safe-area-inset-right));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg);
  transition: background 0.2s, color 0.2s;
}

.nav-mobile__close:hover {
  background: var(--brand-muted);
  color: var(--brand);
}

.nav-mobile__close svg {
  width: 22px;
  height: 22px;
}

.nav-mobile > a:not(.btn) {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.0625rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.nav-mobile__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding-bottom: 0.85rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-light);
}

.nav-mobile__contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.25rem 0;
  font-size: clamp(0.6875rem, 2.8vw, 0.8125rem);
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.3;
  color: var(--text-secondary);
  border-bottom: none;
}

.nav-mobile__contact-text {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.nav-mobile__contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand);
}

.nav-mobile .btn.btn--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.9rem 1.5rem;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  border: none;
  border-bottom: none;
  border-radius: var(--radius-full);
  background: var(--brand);
  box-shadow: 0 4px 20px rgba(138, 0, 35, 0.2);
}

.nav-mobile .btn.btn--primary:hover,
.nav-mobile .btn.btn--primary:focus-visible {
  color: #fff;
  background: var(--brand-dark);
}

.nav-mobile__group {
  border-bottom: 1px solid var(--border-light);
}

.nav-mobile__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0;
  font-size: 1.0625rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-mobile__trigger svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  transition: transform 0.25s var(--ease);
}

.nav-mobile__group.is-open .nav-mobile__trigger svg {
  transform: rotate(180deg);
}

.nav-mobile__sub {
  list-style: none;
  padding: 0 0 0.75rem 0.75rem;
}

.nav-mobile__sub li {
  display: flex;
  align-items: center;
}

.nav-mobile__sub[hidden] {
  display: none;
}

.nav-mobile a.nav-mobile__sub-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: none;
}

.nav-mobile a.nav-mobile__sub-link .nav-dropdown__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0;
}

.nav-mobile a.nav-mobile__sub-link > span:last-child {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.nav-mobile__sub-link .nav-dropdown__icon svg {
  width: 18px;
  height: 18px;
}

.nav-mobile a.nav-mobile__sub-link:hover {
  color: var(--text-secondary);
}

.nav-mobile a.nav-mobile__sub-link:hover > span:last-child {
  color: var(--brand);
}

.nav-mobile a.nav-mobile__sub-link:hover .nav-dropdown__icon {
  background: var(--brand-muted);
  color: var(--brand);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-h));
  margin-top: var(--header-h);
  padding-block: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
  padding-inline: var(--hero-pad-x);
  overflow: hidden;
  background: transparent;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero-slider .container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 0;
}

.hero-slider__track {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  flex: 0 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s var(--ease), visibility 0.65s;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  width: 100%;
}

.hero-slide__content {
  max-width: 36rem;
}

.hero-slide__content .hero-title,
.hero-slide__content .hero-desc,
.hero-slide__content .hero-actions,
.hero-slide__content .hero-badge,
.hero-slide__content .eyebrow {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.hero-slide.is-active .eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.hero-slide.is-active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.hero-slide.is-active .hero-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.hero-slide.is-active .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

/* Media panel */
.hero-slide__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--brand-light) 0%, var(--surface) 60%);
  box-shadow: var(--shadow-lg);
}

.hero-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-align: center;
  padding: 1.5rem;
}

.hero-media-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.45;
}

.hero-slide__media.has-media .hero-media-placeholder {
  display: none;
}

.hero-media-img,
.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider controls */
.hero-slider__controls {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding-inline: 0;
  flex-shrink: 0;
}

.hero-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hero-nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero-nav-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-nav-btn svg {
  width: 20px;
  height: 20px;
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: width 0.3s var(--ease), background 0.3s;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--brand);
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.hero-slider.is-dragging a {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__content .hero-title,
  .hero-slide__content .hero-desc,
  .hero-slide__content .hero-actions,
  .hero-slide__content .hero-badge,
  .hero-slide__content .eyebrow {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.hero-title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--brand);
}

.hero-desc {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* About */
.about-preview {
  padding-block: var(--section-pad);
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.about-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  max-height: 520px;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.about-media__mosaic {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.about-media__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

.about-media__col:first-child .about-media__cell:first-child {
  flex: 0 1 42%;
  min-height: 140px;
}

.about-media__col:first-child .about-media__cell:last-child {
  flex: 1 1 58%;
}

.about-media__col:last-child .about-media__cell:first-child {
  flex: 1 1 58%;
}

.about-media__col:last-child .about-media__cell:last-child {
  flex: 0 1 38%;
  min-height: 120px;
}

.about-media__cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.about-media.is-layers-visible .about-media__cell--tl {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.about-media.is-layers-visible .about-media__cell--bl {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}

.about-media.is-layers-visible .about-media__cell--tr {
  opacity: 1;
  transform: none;
  transition-delay: 0.16s;
}

.about-media.is-layers-visible .about-media__cell--br {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.about-media__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-media__cell--tl {
  border-radius: 28px 10px 10px 10px;
}

.about-media__cell--tl img {
  object-position: center 40%;
}

.about-media__cell--tr {
  border-radius: 10px;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.about-media__cell--bl {
  border-radius: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}

.about-media__cell--bl img {
  object-position: center 55%;
}

.about-media__cell--br {
  display: flex;
  align-items: flex-end;
  padding: 1.15rem 1.25rem;
  border-radius: 10px 10px 28px 10px;
  background: var(--brand-light);
  color: var(--brand-dark);
}

.about-media__brand-text {
  margin: 0;
  max-width: 11rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-media__brand-arrow {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: flex;
  width: 2rem;
  height: 2rem;
  color: var(--brand);
}

.about-media__brand-arrow svg {
  width: 100%;
  height: 100%;
}

.about-content {
  min-width: 0;
}

.about-content .section-lead {
  max-width: none;
}

.about-content__lead {
  margin-top: 1rem;
}

.about-highlights {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.about-highlights__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.about-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
}

.about-highlight__value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--brand);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-highlight__label {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.about-content__cta {
  margin-top: 2rem;
}

.about-content__cta:hover,
.about-content__cta:focus-visible {
  color: var(--brand);
  opacity: 1;
}

/* Values */
.values {
  padding-block: var(--section-pad);
  background: #ffffff;
}

.values-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.values-header .section-lead {
  margin-inline: auto;
}

.values-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 0.85rem);
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.value-panel {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  position: relative;
  border-radius: clamp(18px, 2.5vw, 26px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease);
}

.value-panel:hover {
  box-shadow: var(--shadow-md);
}

.value-panel--short {
  height: clamp(200px, 26vw, 280px);
}

.value-panel--mid {
  height: clamp(260px, 32vw, 360px);
}

.value-panel--tall {
  height: clamp(320px, 38vw, 440px);
}

.value-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.value-panel:hover img {
  transform: scale(1.04);
}

.value-panel__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 0.85rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 31, 0.78) 100%);
  color: #fff;
  pointer-events: none;
}

.value-panel__caption h3 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.value-panel__caption p {
  margin: 0;
  font-size: clamp(0.6875rem, 1vw, 0.8125rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* Services preview */
.services-preview {
  padding-block: var(--section-pad);
  background: #ffffff;
}

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

.services-carousel {
  --services-gap: 0.85rem;
  --services-visible: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.services-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
  container-name: services;
}

.services-carousel__track {
  display: flex;
  gap: var(--services-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 0.25rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}

.services-carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.services-carousel__track::-webkit-scrollbar {
  display: none;
}

.services-carousel__nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.services-carousel__nav svg {
  width: 22px;
  height: 22px;
}

.services-carousel__nav:hover:not(:disabled) {
  background: var(--brand-dark);
}

.services-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.service-card {
  flex: 0 0
    calc(
      (100cqw - (var(--services-visible) - 1) * var(--services-gap)) /
        var(--services-visible)
    );
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.service-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  text-decoration: underline;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.03);
}

.service-card__body {
  flex: 1;
  padding: 1rem 1rem 1.15rem;
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.45rem;
}

.service-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Patient access form */
.patient-access {
  padding-block: var(--section-pad);
  background: var(--brand-light);
}

.patient-access__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.patient-access__visual {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.patient-access__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(138, 0, 35, 0.12);
  box-shadow: var(--shadow-md);
}

.patient-access__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.patient-access__slogan-card {
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(138, 0, 35, 0.1);
}

.patient-access__slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.25;
  color: var(--brand);
}

.patient-access__slogan-sub {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.patient-access__header .section-lead {
  max-width: 52ch;
}

.patient-form {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-light);
}

.patient-form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.patient-form__fieldset {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.patient-form__fieldset legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.patient-form__row {
  display: grid;
  gap: 1rem;
}

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

.patient-form__fieldset > legend + * {
  margin-top: 0;
}

.patient-form__fieldset > .patient-form__row + .patient-form__row,
.patient-form__fieldset > .patient-form__row + .patient-form__field,
.patient-form__fieldset > .patient-form__field + .patient-form__field,
.patient-form__fieldset > .patient-form__field + .patient-form__row {
  margin-top: 1.25rem;
}

.patient-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.patient-form__field label,
.patient-form__upload-label-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.patient-form__field input,
.patient-form__field select,
.patient-form__field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.patient-form__field input:focus,
.patient-form__field select:focus,
.patient-form__field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-muted);
}

.patient-form__field input.is-invalid,
.patient-form__field select.is-invalid,
.patient-form__field textarea.is-invalid {
  border-color: #c41e3a;
}

.patient-form__field textarea {
  resize: vertical;
  min-height: 6rem;
}

.patient-form__upload-label-text {
  display: block;
}

.patient-form__upload {
  position: relative;
}

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

.patient-form__upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 10rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}

.patient-form__upload-drop:hover,
.patient-form__upload.is-dragover .patient-form__upload-drop {
  border-color: var(--brand);
  background: var(--brand-light);
}

.patient-form__upload.is-invalid .patient-form__upload-drop {
  border-color: #c41e3a;
  background: #fff8f9;
}

.patient-form__upload.is-filled .patient-form__upload-drop {
  border-style: solid;
  border-color: rgba(138, 0, 35, 0.35);
  background: var(--brand-light);
}

.patient-form__upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.25rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.patient-form__upload-icon svg {
  width: 26px;
  height: 26px;
}

.patient-form__upload-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.patient-form__upload-sub {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.patient-form__upload-link {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.patient-form__file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.patient-form__file-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.patient-form__file-item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}

.patient-form__file-item-size {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.patient-form__file-remove {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.patient-form__file-remove:hover {
  color: #c41e3a;
  background: #fff0f2;
}

.patient-form__file-remove svg {
  width: 1rem;
  height: 1rem;
}

.patient-form__consent {
  margin-bottom: 1.25rem;
}

.patient-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}

.patient-form__checkbox input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--brand);
}

.patient-form__status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.patient-form__status.is-error {
  color: #8b1530;
  background: #fdeef1;
  border: 1px solid #f5c6d0;
}

.patient-form__status.is-success {
  color: #0d5c36;
  background: #e8f7ef;
  border: 1px solid #b8e6cc;
}

.patient-form__submit {
  width: 100%;
}

.patient-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Blog */
.blog-preview {
  padding-block: var(--section-pad);
  background: #ffffff;
}

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

.blog-header .section-lead {
  max-width: 52ch;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.blog-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.5rem;
}

.blog-card__meta {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.blog-card__body time {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.3s;
}

.blog-card:hover h3 {
  color: var(--brand);
}

.blog-card__excerpt {
  flex: 1;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.blog-card__more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

/* Partner & CTA — unified */
.partner-cta {
  padding-block: var(--section-pad);
  background: #ffffff;
}

.partner-cta__unified {
  background: transparent;
}

.partner-cta__top {
  padding: 0;
}

.partner-paths__header {
  text-align: center;
  margin-bottom: 2rem;
}

.partner-paths__header .section-lead {
  max-width: 52ch;
  margin-inline: auto;
}

.partner-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.partner-path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--brand-light);
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.partner-path-card:hover {
  border-color: rgba(138, 0, 35, 0.22);
}

.partner-path-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand);
}

.partner-path-card__icon svg {
  width: 26px;
  height: 26px;
}

.partner-path-card h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.625rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.partner-path-card p {
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.partner-path-card .btn {
  margin-top: auto;
}

.partner-cta__unified .cta-inner {
  position: relative;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, #5c0018 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 35%);
  pointer-events: none;
}

.cta-inner > * {
  position: relative;
  z-index: 1;
}

.cta-inner .section-title {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-inner p {
  margin-top: 1rem;
  max-width: 48ch;
  margin-inline: auto;
  opacity: 0.88;
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-inner .btn--primary {
  background: #fff;
  color: var(--brand);
  box-shadow: none;
}

.cta-inner .btn--primary:hover {
  background: var(--brand-light);
}

.cta-inner .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.cta-inner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Footer */
.site-footer {
  padding-block: 3rem max(1.5rem, env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 32ch;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
}

.footer-social__link:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  align-items: flex-start;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand);
  stroke-width: 2;
  opacity: 1;
}

.footer-products {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.15rem;
}

.footer-products__head h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.footer-products__all {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
}

.footer-products__all:hover {
  text-decoration: underline;
}

.footer-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-products__grid a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  line-height: 1.35;
}

.footer-products__grid a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--brand);
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab__icon {
  position: relative;
  z-index: 2;
  display: flex;
}

.whatsapp-fab__icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-breathe 2.2s ease-in-out infinite;
}

@keyframes whatsapp-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .about-media__cell {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }

  .whatsapp-fab__pulse {
    animation: none;
    opacity: 0.35;
    transform: scale(1.15);
  }
}

/* Responsive — tablet & below shared */
@media (max-width: 1024px) {
  :root {
    --header-topbar-h: 46px;
    --header-main-h: 84px;
    --header-h: calc(var(--header-topbar-h) + var(--header-main-h));
    --container: min(1200px, 100% - 2.5rem);
    --hero-pad-x: clamp(1.25rem, 3.5vw, 2rem);
    --section-pad: clamp(2.25rem, 4.5vw, 3.25rem);
  }

  .nav-desktop,
  .header-cta .btn--primary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-contact__address {
    display: none;
  }

  .logo img,
  .logo__img {
    height: 52px;
  }

  .value-panel--short {
    height: clamp(170px, 22vw, 230px);
  }

  .value-panel--mid {
    height: clamp(220px, 28vw, 300px);
  }

  .value-panel--tall {
    height: clamp(270px, 34vw, 360px);
  }

  .services-carousel {
    --services-visible: 3;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  #main-content {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Tablet only (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Hero */
  .hero-slider {
    min-height: auto;
    padding-block: 1.5rem 1.25rem;
  }

  .hero-slide__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    padding-block: 1.5rem 1rem;
  }

  .hero-slide__media {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  .hero-title {
    font-size: clamp(2rem, 4.5vw, 2.65rem);
  }

  .hero-desc {
    font-size: 0.9375rem;
  }

  .hero-slider__controls {
    margin-top: 0.75rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
  }

  .about-media {
    max-height: 440px;
  }

  .about-media__mosaic {
    min-height: 340px;
  }

  .about-media__brand-text {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    max-width: 10rem;
  }

  .about-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }

  /* Values — horizontal scroll */
  .values .container {
    overflow: hidden;
  }

  .values-grid {
    justify-content: flex-start;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .values-grid::-webkit-scrollbar {
    display: none;
  }

  .value-panel {
    flex: 0 0 min(38vw, 200px);
    scroll-snap-align: start;
  }

  .value-panel--short {
    height: clamp(180px, 28vw, 220px);
  }

  .value-panel--mid {
    height: clamp(220px, 32vw, 260px);
  }

  .value-panel--tall {
    height: clamp(260px, 36vw, 300px);
  }

  /* Services */
  .services-carousel {
    --services-visible: 2;
  }

  .services-header,
  .blog-header,
  .partner-paths__header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
  }

  .services-header .btn,
  .blog-header .btn {
    width: auto;
    flex-shrink: 0;
  }

  .service-card__body {
    padding: 1.1rem 1rem 1.2rem;
  }

  /* Patient access */
  .patient-access__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }

  .patient-access__visual {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

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

  /* Partner & CTA */
  .partner-paths__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    margin-inline: 0;
    gap: 1rem;
  }

  .partner-path-card {
    padding: 1.5rem;
  }

  .partner-cta__unified .cta-inner {
    margin-top: 2rem;
    padding: clamp(2.5rem, 5vw, 3.5rem);
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-actions .btn {
    width: auto;
  }

  /* Blog */
  .blog-preview .container {
    display: block;
  }

  .blog-header {
    display: flex;
  }

  .blog-header > div {
    margin-bottom: 0;
  }

  .blog-header .btn {
    order: unset;
    width: auto;
    margin-top: 0;
  }

  .blog-grid {
    order: unset;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    order: 10;
    width: 100%;
    margin-top: 0.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
  }

  .footer-products {
    padding: 1.5rem 0 1.75rem;
  }

  .footer-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
  }

  .footer-bottom {
    padding-top: 1.25rem;
  }

  .whatsapp-fab {
    width: 54px;
    height: 54px;
  }
}

/* Narrow tablet / large phone landscape */
@media (min-width: 769px) and (max-width: 900px) {
  .hero-slide__inner {
    gap: 1.25rem;
  }

  .hero-slide__media {
    max-height: 260px;
  }

  .services-carousel {
    --services-visible: 2;
  }

  .partner-paths__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-topbar-h: 44px;
    --header-main-h: 80px;
    --header-h: calc(var(--header-topbar-h) + var(--header-main-h));
    --container: min(1200px, 100% - 1.5rem);
    --hero-pad-x: clamp(1rem, 4vw, 1.5rem);
    --section-pad: clamp(2rem, 6vw, 2.75rem);
  }

  .header-topbar__inner {
    gap: 0.5rem;
  }

  .header-contact {
    gap: 0.25rem 0.75rem;
  }

  .header-contact a span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo img,
  .logo__img {
    height: 48px;
  }

  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.15rem);
  }

  .section-lead {
    font-size: 1rem;
  }

  .hero-slider {
    min-height: auto;
    padding-block: 1.25rem 1rem;
  }

  .hero-slide__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 1rem 0.5rem;
  }

  .hero-slide__media {
    order: -1;
    aspect-ratio: 16 / 10;
    max-height: 240px;
    box-shadow: var(--shadow-md);
  }

  .hero-slide__content {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-desc {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

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

  .hero-slider__nav {
    gap: 0.75rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
  }

  .about-media {
    max-height: none;
    aspect-ratio: auto;
  }

  .about-media__mosaic {
    min-height: 320px;
  }

  .about-media__cell--br {
    padding: 0.75rem 2rem 0.75rem 0.75rem;
  }

  .about-media__brand-text {
    width: 100%;
    max-width: 100%;
    font-size: clamp(0.78rem, 3.6vw, 0.95rem);
    line-height: 1.28;
    letter-spacing: 0.025em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .about-media__brand-arrow {
    top: 0.55rem;
    right: 0.55rem;
    width: 1.35rem;
    height: 1.35rem;
  }

  .about-media__col:first-child .about-media__cell:first-child,
  .about-media__col:last-child .about-media__cell:last-child {
    min-height: 118px;
  }

  .about-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .about-highlight__value {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }

  .values .container {
    overflow: hidden;
  }

  .values-grid {
    justify-content: flex-start;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .values-grid::-webkit-scrollbar {
    display: none;
  }

  .value-panel {
    flex: 0 0 min(72vw, 220px);
    scroll-snap-align: center;
  }

  .value-panel--short {
    height: clamp(200px, 48vw, 240px);
  }

  .value-panel--mid {
    height: clamp(240px, 54vw, 280px);
  }

  .value-panel--tall {
    height: clamp(280px, 60vw, 320px);
  }

  .services-header,
  .blog-header,
  .partner-paths__header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .services-header .btn {
    width: 100%;
    justify-content: center;
  }

  .services-carousel {
    --services-visible: 1;
    --services-gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.85rem;
    width: 100%;
    margin-inline: 0;
  }

  .services-carousel__viewport {
    flex: 1 1 100%;
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .services-carousel__nav {
    order: 2;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .services-carousel__track {
    scroll-padding-inline: 0;
    padding-inline: 0;
  }

  .service-card {
    flex: 0 0 calc((100cqw - (var(--services-visible) - 1) * var(--services-gap)) / var(--services-visible));
    scroll-snap-align: center;
  }

  .service-card__media {
    aspect-ratio: 16 / 10;
  }

  .service-card__body {
    padding: 1.25rem 1.2rem 1.4rem;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .blog-preview .container {
    display: flex;
    flex-direction: column;
  }

  .blog-header {
    display: contents;
  }

  .blog-header > div {
    order: 1;
    margin-bottom: 1.5rem;
  }

  .blog-grid {
    order: 2;
    grid-template-columns: 1fr;
  }

  .blog-header .btn {
    order: 3;
    width: 100%;
    margin-top: 1.25rem;
  }

  .patient-access__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .patient-access__form-wrap {
    margin-top: 0.75rem;
  }

  .patient-access__visual {
    position: static;
  }

  .patient-form__row--2 {
    grid-template-columns: 1fr;
  }

  .partner-paths__grid {
    max-width: none;
  }

  .partner-path-card .btn {
    width: 100%;
    justify-content: center;
  }

  .partner-cta__unified .cta-inner {
    margin-top: 1.5rem;
    padding: clamp(2rem, 6vw, 2.5rem) 1.25rem;
  }

  .cta-inner .section-title {
    max-width: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 1.5rem;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    padding-bottom: 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-contact {
    grid-column: 1 / -1;
    order: 10;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom:1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
  }

  .footer-col h4 {
    margin-bottom: 0.85rem;
    font-size: 0.6875rem;
  }

  .footer-col ul {
    gap: 0.5rem;
  }

  .footer-col a {
    font-size: 0.8125rem;
  }

  .footer-products {
    padding: 1.25rem 0 1.5rem;
  }

  .footer-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.85rem;
  }

  .footer-products__grid a {
    font-size: 0.8125rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0;
    text-align: left;
  }

  .footer-contact li {
    align-items: flex-start;
  }

  .footer-contact span,
  .footer-contact a {
    word-break: break-word;
  }

  #main-content {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-fab {
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: max(1rem, env(safe-area-inset-left));
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(1200px, 100% - 1.25rem);
  }

  .header-contact li:nth-child(2) {
    display: none;
  }

  .header-contact a span {
    font-size: 0.6875rem;
    max-width: 100px;
  }

  .header-topbar {
    padding-block: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-highlights__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .about-media__mosaic {
    min-height: 280px;
    gap: 0.45rem;
  }

  .about-media__col {
    gap: 0.45rem;
  }

  .about-media__brand-text {
    font-size: clamp(0.72rem, 4.2vw, 0.875rem);
    line-height: 1.26;
    letter-spacing: 0.02em;
  }

  .about-media__cell--br {
    padding: 0.65rem 1.85rem 0.65rem 0.65rem;
  }

  .about-media__col:last-child .about-media__cell:last-child {
    min-height: 108px;
  }

  .value-panel {
    flex: 0 0 78vw;
  }

  .footer-social__link {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .about-highlights__grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .nav-mobile > a:not(.btn),
  .nav-mobile__trigger {
    font-size: 1rem;
  }
}
