/* Inner pages — ONC Pharmaceutical */

.page-inner #main-content {
  padding-top: var(--header-h);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-inner .site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(165deg, rgba(138, 0, 35, 0.06) 0%, rgba(138, 0, 35, 0) 55%);
  border-bottom: 1px solid rgba(138, 0, 35, 0.08);
}

.page-hero .container {
  max-width: 52rem;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--color-text-muted, #5c5c5c);
}

.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--brand, #8a0023);
}

.page-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.5;
}

.page-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text, #1a1a1a);
}

.page-hero__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted, #5c5c5c);
  max-width: 42rem;
}

.page-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.page-section--alt {
  background: var(--color-surface-alt, #faf8f8);
}

.page-split {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .page-split {
    grid-template-columns: 1fr 1fr;
  }

  .page-split--wide-left {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.info-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .info-cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-card {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 12px;
}

.info-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted, #5c5c5c);
}

.services-page-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .services-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-detail-card:hover {
  border-color: rgba(138, 0, 35, 0.22);
  box-shadow: 0 12px 32px rgba(138, 0, 35, 0.08);
}

.service-detail-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(138, 0, 35, 0.08);
  color: var(--brand, #8a0023);
}

.service-detail-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-detail-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.service-detail-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted, #5c5c5c);
}

/* Products listing */
.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.products-count {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted, #5c5c5c);
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.products-filter {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text, #1a1a1a);
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.15);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.products-filter:hover,
.products-filter.is-active {
  background: var(--brand, #8a0023);
  border-color: var(--brand, #8a0023);
  color: #fff;
}

.products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 14px 36px rgba(138, 0, 35, 0.1);
}

.product-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-alt, #f5f2f2);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.25rem;
}

.product-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand, #8a0023);
  margin-bottom: 0.35rem;
}

.product-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--brand, #8a0023);
}

.product-card__desc {
  margin: 0 0 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted, #5c5c5c);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  color: var(--color-text-muted, #5c5c5c);
}

.product-card__meta span::before {
  content: "•";
  margin-right: 0.35rem;
  opacity: 0.5;
}

.product-card__meta span:first-child::before {
  display: none;
}

.product-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand, #8a0023);
  text-decoration: none;
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted, #5c5c5c);
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 2.5rem;
}

.pagination__btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--brand, #8a0023);
  border: 1px solid rgba(138, 0, 35, 0.25);
  border-radius: 8px;
}

.pagination__btn:hover:not(.is-disabled) {
  background: rgba(138, 0, 35, 0.06);
}

.pagination__btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--brand, #8a0023);
  border-radius: 8px;
}

.pagination__num:hover {
  background: rgba(138, 0, 35, 0.08);
}

.pagination__num.is-active {
  background: var(--brand, #8a0023);
  color: #fff;
}

.pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 2.25rem;
  color: var(--brand, #8a0023);
  font-size: 0.875rem;
  font-weight: 500;
  user-select: none;
}

/* Product detail */
.product-detail {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}

.product-detail__media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface-alt, #f5f2f2);
  border: 1px solid rgba(138, 0, 35, 0.08);
}

.product-detail__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail__category {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand, #8a0023);
  margin: 0 0 0.5rem;
}

.product-detail__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-detail__meta-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--color-surface-alt, #faf8f8);
  border-radius: 12px;
  list-style: none;
}

.product-detail__meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}

.product-detail__meta-list strong {
  font-weight: 600;
  color: var(--color-text-muted, #5c5c5c);
}

.product-detail__body p {
  line-height: 1.7;
  color: var(--color-text-muted, #5c5c5c);
}

.product-detail__indications {
  margin-top: 1.5rem;
}

.product-detail__indications h2 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}

.product-detail__indications ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.65;
  color: var(--color-text-muted, #5c5c5c);
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.product-detail__disclaimer {
  margin-top: 2rem;
  padding: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-muted, #5c5c5c);
  background: rgba(138, 0, 35, 0.04);
  border-radius: 10px;
  border-left: 3px solid var(--brand, #8a0023);
}

/* Blog detail */
.blog-detail__hero-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
  max-height: 420px;
}

.blog-detail__hero-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted, #5c5c5c);
}

.blog-detail__body {
  max-width: 42rem;
}

.blog-detail__body p {
  margin: 0 0 1.15rem;
  line-height: 1.75;
  color: var(--color-text, #333);
}

/* Contact & partner forms */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-info-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-info-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  color: var(--brand, #8a0023);
}

.contact-info-list a {
  color: var(--brand, #8a0023);
  text-decoration: none;
}

.contact-info-list a:hover {
  text-decoration: underline;
}

.site-form {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 560px) {
  .site-form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.site-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-form__field input,
.site-form__field select,
.site-form__field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
}

.site-form__field input:focus,
.site-form__field select:focus,
.site-form__field textarea:focus {
  outline: none;
  border-color: var(--brand, #8a0023);
  box-shadow: 0 0 0 3px rgba(138, 0, 35, 0.12);
}

.site-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.site-form__status {
  margin: 0;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.site-form__status:empty {
  display: none;
}

.site-form__consent {
  margin-top: 0.25rem;
}
.site-form__consent label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted, #6b6b76);
  cursor: pointer;
}
.site-form__consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brand, #8a0023);
}
.site-form__consent a {
  color: var(--brand, #8a0023);
  text-decoration: underline;
}

.site-form__status.is-success {
  color: #0d6b3a;
}

.site-form__status.is-error {
  color: #b00020;
}

.site-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-panel {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 14px;
}

.form-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.form-panel > p {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted, #5c5c5c);
}

.partner-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

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

.partner-benefits li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.partner-benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--brand, #8a0023);
}

/* Mission & Vision */
.mission-vision__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mission-vision__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mv-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 16px;
  border: 1px solid rgba(138, 0, 35, 0.12);
  background: #fff;
}

.mv-card--mission {
  background: linear-gradient(145deg, rgba(138, 0, 35, 0.08), #fff 55%);
}

.mv-card--vision {
  background: linear-gradient(145deg, #fff 40%, rgba(138, 0, 35, 0.06));
}

/* Principles — creative grid */
.principles-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.principles-orbit {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .principles-orbit {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .principle-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.principle-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem 3.25rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.principle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(138, 0, 35, 0.1);
}

.principle-card--featured {
  background: linear-gradient(135deg, var(--brand, #8a0023), #6d001c);
  border-color: transparent;
  color: #fff;
}

.principle-card--featured .principle-card__num {
  color: rgba(255, 255, 255, 0.5);
}

.principle-card--featured p {
  color: rgba(255, 255, 255, 0.88);
}

.principle-card__num {
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand, #8a0023);
  letter-spacing: 0.05em;
}

.principle-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.principle-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary, #5c5c66);
}

/* Services showcase */
.services-showcase {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-showcase-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.service-showcase-card:hover {
  box-shadow: 0 16px 40px rgba(138, 0, 35, 0.1);
}

.service-showcase-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-light, #f8eef1);
}

.service-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

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

.service-showcase-card__body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.service-showcase-card__body h2 a {
  color: inherit;
  text-decoration: none;
}

.service-showcase-card__body h2 a:hover {
  color: var(--brand, #8a0023);
}

.service-showcase-card__body p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary, #5c5c66);
}

.service-showcase-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand, #8a0023);
  text-decoration: none;
}

/* Service detail page */
.service-detail-page__hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  max-height: 420px;
}

.service-detail-page__hero img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-detail-page__hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%);
  color: #fff;
}

.service-detail-page__hero-overlay h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
}

.service-detail-page__hero-overlay p {
  margin: 0;
  max-width: 36rem;
  opacity: 0.92;
}

.service-detail-page__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .service-detail-page__grid {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.service-detail-page__content p {
  line-height: 1.75;
  color: var(--text-secondary, #5c5c66);
  margin-bottom: 1rem;
}

.service-detail-page__aside {
  padding: 1.5rem;
  background: var(--brand-light, #f8eef1);
  border-radius: 14px;
  height: fit-content;
}

.service-detail-page__highlights {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  line-height: 1.6;
}

.service-detail-page__aside .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Products sidebar layout */
.products-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .products-layout {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }

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

.products-sidebar {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 14px;
}

.products-sidebar__title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand, #8a0023);
}

.products-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.products-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text, #1a1a1f);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.products-sidebar__link:hover,
.products-sidebar__link.is-active {
  background: rgba(138, 0, 35, 0.08);
  color: var(--brand, #8a0023);
}

.products-sidebar__count {
  font-size: 0.75rem;
  color: var(--text-muted, #8a8a96);
}

.products-main .products-grid {
  margin-bottom: 0;
}

.products-pagination-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138, 0, 35, 0.08);
}

.products-pagination-wrap:empty {
  display: none;
}

/* Product detail layout */
.product-detail-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 270px 1fr;
    gap: 2.5rem;
  }
}

.product-detail--stacked {
  display: block;
}

.product-detail__gallery {
  margin-bottom: 0;
}

.product-gallery__main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-light, #f8eef1);
  border: 1px solid rgba(138, 0, 35, 0.08);
}

.product-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Gallery prev/next arrows */
.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(138, 0, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand, #8a0023);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.product-gallery__nav:hover {
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.product-gallery__nav svg {
  display: block;
}

.product-gallery__nav--prev {
  left: 0.65rem;
}

.product-gallery__nav--next {
  right: 0.65rem;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.product-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.product-gallery__thumb.is-active {
  border-color: var(--brand, #8a0023);
}

.product-gallery__thumb img {
  display: block;
  width: 72px;
  height: 54px;
  object-fit: cover;
}

.product-detail__body--long p + p {
  margin-top: 1rem;
}

.product-request {
  margin-top: 2.5rem;
}

.product-request [data-form-submit] {
  justify-self: start;
  width: auto;
  min-width: 200px;
}

@media (max-width: 560px) {
  .product-request [data-form-submit] {
    justify-self: stretch;
    width: 100%;
  }
}

/* Contact — spacious */
.contact-grid--spacious {
  gap: 3rem;
  align-items: start;
}

.contact-details-panel__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary, #5c5c66);
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 12px;
}

.contact-info-list svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  color: var(--brand, #8a0023);
}

.contact-info-list a {
  color: var(--brand, #8a0023);
  font-weight: 500;
}

.contact-details-panel__note,
.contact-info-list + .section-lead {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #5c5c66);
}

/* Operations experience */
.page-hero--compact {
  padding-bottom: 1.5rem;
}

.ops-experience {
  padding: 0 0 4rem;
}

.ops-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ops-step {
  flex: 1 1 auto;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(138, 0, 35, 0.15);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ops-step.is-active {
  background: var(--brand, #8a0023);
  border-color: var(--brand, #8a0023);
  color: #fff;
}

.ops-step__num {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.7;
}

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

.ops-progress {
  height: 4px;
  background: rgba(138, 0, 35, 0.12);
  border-radius: 999px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.ops-progress__bar {
  display: block;
  height: 100%;
  background: var(--brand, #8a0023);
  border-radius: inherit;
  transition: width 0.4s ease;
}

.ops-panel {
  display: grid;
  gap: 1.5rem;
  animation: opsFade 0.35s ease;
}

@media (min-width: 800px) {
  .ops-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.ops-panel[hidden] {
  display: none !important;
}

@keyframes opsFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ops-panel__media {
  border-radius: 14px;
  overflow: hidden;
}

.ops-panel__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ops-panel__content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.ops-panel__content ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.65;
}

.ops-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* About page CTA */
.page-cta .cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.75rem);
  background: linear-gradient(135deg, var(--brand, #8a0023) 0%, #5c0018 100%);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(138, 0, 35, 0.22);
}

.page-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Contact patient access */
.contact-patient-note {
  margin-top: 1.5rem;
}

.contact-patient-btn {
  margin-top: 1rem;
  display: inline-flex;
}

/* Product detail — gallery + info two-column hero */
.product-detail__hero {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (min-width: 1000px) {
  .product-detail__hero {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
  }
}

.product-detail__info {
  display: flex;
  flex-direction: column;
}

.product-detail__info .product-detail__category {
  margin-bottom: 0.6rem;
}

.product-detail__info .product-detail__title {
  margin-bottom: 1.25rem;
}

.product-detail__summary {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted, #5c5c5c);
}

.product-detail__info .product-detail__actions {
  margin-top: auto;
}

/* Service detail — related services */
.service-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(138, 0, 35, 0.1);
}

.service-related__header {
  margin-bottom: 1.75rem;
}

.service-related__grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 1000px) {
  .service-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(138, 0, 35, 0.12);
}

.service-related-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-related-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-related-card__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.service-related-card__body p {
  margin: 0 0 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary, #5c5c66);
}

.service-related-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand, #8a0023);
}

/* Operations page */
.ops-overview__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .ops-overview__grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
  }
}

.ops-overview__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ops-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem;
  background: var(--brand-light, #f8eef1);
  border-radius: 14px;
  border: 1px solid rgba(138, 0, 35, 0.08);
}

.ops-stat__value {
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--brand, #8a0023);
}

.ops-stat__label {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary, #5c5c66);
}

/* Process flow */
.ops-process__header {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.ops-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.ops-flow__row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .ops-flow__row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .ops-flow__row--reverse .ops-flow__media {
    order: 2;
  }
}

.ops-flow__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(16, 20, 25, 0.12);
}

.ops-flow__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ops-flow__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.5rem;
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-size: 1.5rem;
  color: #fff;
  background: var(--brand, #8a0023);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(138, 0, 35, 0.35);
}

.ops-flow__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.ops-flow__body > p {
  margin: 0 0 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary, #5c5c66);
}

.ops-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.ops-flow__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ops-flow__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(138, 0, 35, 0.15);
  box-shadow: inset 0 0 0 3px var(--brand, #8a0023);
}

/* Assurance cards */
.ops-assurance__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ops-assure-card {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(138, 0, 35, 0.1);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ops-assure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(138, 0, 35, 0.12);
}

.ops-assure-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--brand-light, #f8eef1);
  color: var(--brand, #8a0023);
}

.ops-assure-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ops-assure-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.ops-assure-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary, #5c5c66);
}

/* Operations CTA */
.ops-cta__inner {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--brand, #8a0023), #6d001c);
  color: #fff;
  border-radius: 20px;
}

.ops-cta__inner .section-title {
  color: #fff;
}

.ops-cta__inner p {
  margin: 0.5rem 0 0;
  opacity: 0.9;
  line-height: 1.65;
}

.ops-cta__inner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ops-cta__inner .btn--primary {
  background: #fff;
  color: var(--brand, #8a0023);
  box-shadow: none;
}

.ops-cta__inner .btn--primary:hover {
  background: var(--brand-light, #f8eef1);
  color: var(--brand, #8a0023);
}

.ops-cta__inner .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.ops-cta__inner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

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

@media (max-width: 768px) {
  .products-filters {
    gap: 0.4rem;
  }

  .products-filter {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .pagination__btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
  }
}
