/*
 * YS Pharma — components and page sections.
 * Mobile-first. Breakpoints: 600, 768, 900, 1100, 1440.
 */

/* ===== Icons ===== */
.ysp-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ===== Buttons & links ===== */
.ysp-btn {
  --_bg: var(--ysp-navy-700);
  --_fg: #fff;
  --_bd: var(--ysp-navy-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--_bd);
  border-radius: var(--ysp-radius-pill);
  background: var(--_bg);
  color: var(--_fg) !important;
  font: 600 0.9375rem/1.1 var(--ysp-font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ysp-dur-fast) var(--ysp-ease), border-color var(--ysp-dur-fast) var(--ysp-ease),
    color var(--ysp-dur-fast) var(--ysp-ease), transform var(--ysp-dur-fast) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease);
}
.ysp-btn:hover { --_bg: var(--ysp-teal-700); --_bd: var(--ysp-teal-700); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(6 106 117 / 0.55); }
.ysp-btn:active { transform: none; }
.ysp-btn .ysp-btn__icon { width: 18px; height: 18px; transition: transform var(--ysp-dur) var(--ysp-ease); }
.ysp-btn:hover .ysp-btn__icon:not(.ysp-btn__icon--lead) { transform: translateX(3px); }
.ysp-btn:hover .ysp-btn__icon--lead { transform: translateX(-3px); }

.ysp-btn--secondary { --_bg: transparent; --_fg: var(--ysp-navy-700); --_bd: #c9d5e1; }
.ysp-btn--secondary:hover { --_bg: var(--ysp-navy-700); --_fg: #fff; --_bd: var(--ysp-navy-700); box-shadow: none; }
.ysp-btn--light { --_bg: #fff; --_fg: var(--ysp-navy-900); --_bd: #fff; }
.ysp-btn--light:hover { --_bg: var(--ysp-teal-300); --_fg: var(--ysp-navy-900); --_bd: var(--ysp-teal-300); box-shadow: 0 10px 28px -10px rgb(127 211 218 / 0.6); }
.ysp-btn--ghost { --_bg: rgb(255 255 255 / 0.04); --_fg: #fff; --_bd: rgb(255 255 255 / 0.4); backdrop-filter: blur(6px); }
.ysp-btn--ghost:hover { --_bg: #fff; --_fg: var(--ysp-navy-900); --_bd: #fff; box-shadow: none; }
.ysp-btn--sm { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.ysp-btn--block { width: 100%; }

.ysp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--ysp-space-6); }

.ysp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--ysp-space-5);
  font-weight: 600;
  color: var(--ysp-teal-700);
  text-decoration: none;
}
.ysp-link-arrow .ysp-icon { width: 18px; height: 18px; transition: transform var(--ysp-dur) var(--ysp-ease); }
.ysp-link-arrow:hover { color: var(--ysp-navy-700); }
.ysp-link-arrow:hover .ysp-icon { transform: translateX(4px); }
.ysp-link-arrow--light { color: var(--ysp-teal-300) !important; }
.ysp-link-arrow--light:hover { color: #fff !important; }

/* ===== Header ===== */
@media (min-width: 1100px) { :root { --ysp-header-h: 80px; } }

.ysp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--ysp-header-h);
  color: var(--ysp-navy-700);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--ysp-line);
  transition: background-color var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease), color var(--ysp-dur) var(--ysp-ease);
}
.admin-bar .ysp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ysp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ysp-header { top: 0; } }

.ysp-has-hero .ysp-header:not(.is-scrolled) {
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.ysp:not(.ysp-has-hero) .ysp-main { padding-top: var(--ysp-header-h); }

.ysp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  width: min(100% - 2 * var(--ysp-gutter), var(--ysp-container-wide));
  margin-inline: auto;
}

/* Logo (text wordmark until a logo file is uploaded) */
.ysp-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}
.ysp-logo__img { max-height: 44px; width: auto; }
.ysp-logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--ysp-navy-700) 0%, var(--ysp-teal-600) 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 6px 16px -8px rgb(8 127 140 / 0.7);
  color: #fff;
  font: 800 15px/1 var(--ysp-font-heading);
  letter-spacing: -0.02em;
}
.ysp-logo__mark::before { content: "YS"; }
/* YS symbol from the packs: original ink on light backgrounds, white on the dark hero header and footer */
.ysp-logo__mark--symbol {
  width: 45px;
  height: 40px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ysp-brand-ink);
  transition: color var(--ysp-dur) var(--ysp-ease);
}
.ysp-logo__mark--symbol::before { content: none; }
.ysp-symbol { display: block; width: 100%; height: 100%; }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-logo__mark--symbol,
.ysp-logo--footer .ysp-logo__mark--symbol { color: #fff; }
.ysp-logo__text { display: flex; flex-direction: column; line-height: 1; }
.ysp-logo__name { font: 800 19px/1 var(--ysp-font-heading); letter-spacing: -0.02em; color: var(--ysp-navy-700); transition: color var(--ysp-dur) var(--ysp-ease); }
.ysp-logo__legal { margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ysp-muted); transition: color var(--ysp-dur) var(--ysp-ease); }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-logo__name,
.ysp-logo--footer .ysp-logo__name { color: #fff; }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-logo__legal,
.ysp-logo--footer .ysp-logo__legal { color: var(--ysp-on-dark-muted); }

/* Desktop navigation */
.ysp-nav, .ysp-header__cta { display: none; }
@media (min-width: 1100px) {
  .ysp-nav { display: block; }
  .ysp-header__cta { display: inline-flex; }
  .ysp-menu-btn:not(.ysp-menu-btn--close) { display: none; }
}
.ysp-nav__list { display: flex; gap: 4px; }
.ysp-nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: inherit !important;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--ysp-teal-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ysp-dur) var(--ysp-ease);
}
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-nav__link::after { background: var(--ysp-teal-300); }
.ysp-nav__link:hover, .ysp-nav__link[aria-current] { opacity: 1; }
.ysp-nav__link:hover::after, .ysp-nav__link[aria-current]::after { transform: scaleX(1); }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-header__cta { --_bg: #fff; --_fg: var(--ysp-navy-900); --_bd: #fff; }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-header__cta:hover { --_bg: var(--ysp-teal-300); --_bd: var(--ysp-teal-300); }

.ysp-menu-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
}
.ysp-menu-btn .ysp-icon { width: 26px; height: 26px; }
.ysp-menu-btn:hover { background: rgb(18 54 90 / 0.06); }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-menu-btn:hover { background: rgb(255 255 255 / 0.12); }

/* Mobile drawer */
.ysp-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(11 34 57 / 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--ysp-dur) var(--ysp-ease);
}
.ysp-drawer[hidden] { display: none; }
.ysp-drawer.is-open { opacity: 1; }
.ysp-drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  padding: 12px 24px 28px;
  overflow-y: auto;
  background: #fff;
  box-shadow: var(--ysp-shadow-3);
  transform: translateX(100%);
  transition: transform 420ms var(--ysp-ease);
}
.ysp-drawer.is-open .ysp-drawer__panel { transform: none; }
.ysp-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--ysp-navy-700); }
.ysp-drawer__list { margin-top: 24px !important; }
.ysp-drawer__list li {
  border-bottom: 1px solid var(--ysp-line);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 400ms var(--ysp-ease), transform 400ms var(--ysp-ease);
  transition-delay: calc(120ms + var(--i, 0) * 45ms);
}
.ysp-drawer.is-open .ysp-drawer__list li { opacity: 1; transform: none; }
.ysp-drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  color: var(--ysp-navy-700);
  font: 700 1.375rem/1.2 var(--ysp-font-heading);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.ysp-drawer__list a[aria-current] { color: var(--ysp-teal-700); }
.ysp-drawer__list .ysp-icon { width: 20px; height: 20px; color: var(--ysp-muted); }
.ysp-drawer__foot { margin-top: auto; padding-top: 32px; }
.ysp-drawer__tag { margin: 16px 0 0; text-align: center; font-size: 0.8125rem; color: var(--ysp-muted); }
.ysp-has-drawer { overflow: hidden; }

/* ===== Homepage hero slideshow ===== */
.ysp-hero {
  --ysp-slide-dur: 7s;
  position: relative;
  isolation: isolate;
  min-height: max(clamp(600px, 100svh, 900px), var(--ysp-hero-fit, 0px));
  overflow: hidden;
  color: #fff;
  background: var(--ysp-navy-900);
}
.ysp-hero__slides { position: absolute; inset: 0; }
.ysp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ysp-ease), visibility 0s linear 1s;
}
.ysp-hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1s var(--ysp-ease); }
.ysp-hero__media { position: absolute; inset: 0; overflow: hidden; }
.ysp-hero__img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.08);
  transition: transform 9s linear;
}
.ysp-hero__slide.is-active .ysp-hero__img { transform: scale(1); }
.ysp-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(11 34 57 / 0.55) 0%, rgb(11 34 57 / 0) 26%),
    linear-gradient(180deg, rgb(11 34 57 / 0.35) 0%, rgb(11 34 57 / 0.72) 48%, rgb(11 34 57 / 0.96) 100%);
}
@media (min-width: 900px) {
  .ysp-hero__media::after {
    background:
      linear-gradient(180deg, rgb(11 34 57 / 0.5) 0%, rgb(11 34 57 / 0) 22%),
      linear-gradient(0deg, rgb(11 34 57 / 0.75) 0%, rgb(11 34 57 / 0) 32%),
      linear-gradient(90deg, rgb(11 34 57 / 0.96) 0%, rgb(11 34 57 / 0.86) 34%, rgb(11 34 57 / 0.4) 62%, rgb(11 34 57 / 0.1) 100%);
  }
}
.ysp-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--ysp-header-h) + 32px) max(var(--ysp-gutter), (100% - var(--ysp-container-wide)) / 2) 148px;
}
@media (min-width: 900px) {
  .ysp-hero__content { align-items: center; padding-bottom: 120px; }
}
.ysp-hero__copy { max-width: 42rem; }
.ysp-hero__eyebrow { color: var(--ysp-teal-300); }
.ysp-hero__title {
  margin: 0 0 1.25rem !important;
  color: #fff !important;
  font-size: var(--ysp-text-display) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
}
.ysp-hero__text {
  max-width: 34rem;
  margin: 0;
  font-size: var(--ysp-text-lg);
  line-height: 1.6;
  color: rgb(255 255 255 / 0.84);
}
.ysp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
@media (max-width: 599px) {
  .ysp-hero__actions .ysp-btn { flex: 1 1 100%; }
}
.ysp-hero__slide.is-active .ysp-hero__copy > * { animation: ysp-rise 1s var(--ysp-ease) both; }
.ysp-hero__slide.is-active .ysp-hero__copy > :nth-child(2) { animation-delay: 90ms; }
.ysp-hero__slide.is-active .ysp-hero__copy > :nth-child(3) { animation-delay: 180ms; }
.ysp-hero__slide.is-active .ysp-hero__copy > :nth-child(4) { animation-delay: 270ms; }
@keyframes ysp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.ysp-hero__controls {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(var(--ysp-gutter), (100% - var(--ysp-container-wide)) / 2) 36px;
}
.ysp-hero__tabs { display: flex; gap: 10px; flex: 1; max-width: 640px; }
.ysp-hero__tab {
  flex: 1;
  min-width: 0;
  padding: 10px 0 0;
  border: 0;
  background: none;
  color: rgb(255 255 255 / 0.6);
  text-align: left;
  transition: color var(--ysp-dur) var(--ysp-ease);
}
.ysp-hero__tab:hover, .ysp-hero__tab.is-active { color: #fff; }
.ysp-hero__tab-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; margin-right: 8px; }
.ysp-hero__tab-label { font-size: 0.875rem; font-weight: 500; }
.ysp-hero__tab-num, .ysp-hero__tab-label { display: none; }
@media (min-width: 768px) {
  .ysp-hero__tabs { gap: 28px; }
  .ysp-hero__tab-num, .ysp-hero__tab-label { display: inline; }
}
.ysp-hero__bar {
  position: relative;
  display: block;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.22);
}
.ysp-hero__bar > span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.ysp-hero__tab.is-active .ysp-hero__bar > span { animation: ysp-progress var(--ysp-slide-dur) linear forwards; }
.ysp-hero.is-paused .ysp-hero__tab.is-active .ysp-hero__bar > span,
.ysp-hero.is-holding .ysp-hero__tab.is-active .ysp-hero__bar > span { animation-play-state: paused; }
.ysp-hero.is-static .ysp-hero__tab.is-active .ysp-hero__bar > span { animation: none; transform: none; }
@keyframes ysp-progress { to { transform: scaleX(1); } }

.ysp-hero__buttons { display: flex; gap: 8px; }
.ysp-hero__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 50%;
  background: rgb(11 34 57 / 0.25);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color var(--ysp-dur-fast) var(--ysp-ease), color var(--ysp-dur-fast) var(--ysp-ease), border-color var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-hero__btn .ysp-icon { width: 20px; height: 20px; }
.ysp-hero__btn:hover { background: #fff; border-color: #fff; color: var(--ysp-navy-900); }
.ysp-hero__play-icon { display: none; }
.ysp-hero__btn[aria-pressed="true"] .ysp-hero__pause-icon { display: none; }
.ysp-hero__btn[aria-pressed="true"] .ysp-hero__play-icon { display: block; }
.ysp-hero__pause-icon, .ysp-hero__play-icon { line-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .ysp-hero__img { transform: none !important; transition: none; }
  .ysp-hero__slide, .ysp-hero__slide.is-active { transition: none; }
  .ysp-hero__slide.is-active .ysp-hero__copy > * { animation: none; }
}

/* ===== Section heads ===== */
.ysp-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.ysp-head--center { margin-inline: auto; text-align: center; }
.ysp-head__title { margin-bottom: 0 !important; }
.ysp-head__intro { margin: 1rem 0 0; font-size: var(--ysp-text-lg); color: var(--ysp-muted); }
.ysp-section--dark .ysp-head__intro { color: var(--ysp-on-dark-muted); }
.ysp-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
}
.ysp-head-row .ysp-head { margin-bottom: 0; }

/* ===== Split layout ===== */
.ysp-split { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 6rem); align-items: center; }
@media (min-width: 900px) {
  .ysp-split { grid-template-columns: 1fr 1fr; }
  .ysp-split .ysp-split__copy .ysp-head { margin-bottom: 1.5rem; }
}
.ysp-split__copy .ysp-head { margin-bottom: 1.25rem; }
/* Supporting paragraph under a lead */
.ysp-copy { max-width: 60ch; color: var(--ysp-muted); }

/* Intro statistics */
.ysp-stats { display: flex; gap: 48px; margin: 2rem 0 0 !important; padding-top: 1.5rem; border-top: 1px solid var(--ysp-line); }
.ysp-stat { display: flex; flex-direction: column-reverse; gap: 6px; }
.ysp-stat dd { font: 800 clamp(2.5rem, 2rem + 2vw, 3.25rem)/1 var(--ysp-font-heading); letter-spacing: -0.03em; color: var(--ysp-navy-700); }
.ysp-stat dt { font-size: 0.875rem; color: var(--ysp-muted); }

/* Intro product mosaic */
.ysp-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  padding-bottom: 32px;
}
@media (max-width: 899px) { .ysp-mosaic { max-width: 520px; } }
.ysp-mosaic::before {
  content: "";
  position: absolute;
  inset: 12% 0 4% 14%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(120% 90% at 100% 0%, var(--ysp-teal-100) 0%, var(--ysp-mist) 60%);
}
.ysp-mosaic__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--ysp-radius-lg);
  background: var(--ysp-studio);
  box-shadow: var(--ysp-shadow-2);
}
.ysp-mosaic__item:nth-child(even) { transform: translateY(32px); }
.ysp-mosaic__item img { width: 100%; height: 100% !important; object-fit: cover; }

/* ===== Dosage-form tiles ===== */
.ysp-forms { display: grid; gap: 20px; }
@media (min-width: 768px) { .ysp-forms { grid-template-columns: repeat(3, 1fr); } }
.ysp-form-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-lg);
  background: #fff;
  color: var(--ysp-ink) !important;
  text-decoration: none;
  transition: transform var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease), border-color var(--ysp-dur) var(--ysp-ease);
}
.ysp-form-tile:hover { transform: translateY(-4px); box-shadow: var(--ysp-shadow-2); border-color: transparent; }
.ysp-form-tile__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background: var(--ysp-teal-100);
  color: var(--ysp-teal-700);
}
.ysp-form-tile__icon .ysp-icon { width: 28px; height: 28px; }
.ysp-form-tile__title { margin: 0 0 0.25rem !important; font-size: 1.375rem !important; }
.ysp-form-tile__count { margin: 0 0 1.5rem; font-size: 0.9375rem; color: var(--ysp-muted); }
.ysp-form-tile__count:has(+ .ysp-form-tile__brands) { margin-bottom: 0.375rem; }
.ysp-form-tile__brands { margin: 0 0 1.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--ysp-ink); }
.ysp-form-tile__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 1.5rem; }
.ysp-form-tile__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  height: auto !important;
  border-radius: 12px;
  object-fit: cover;
  background: var(--ysp-studio);
  box-shadow: inset 0 0 0 1px var(--ysp-line);
  transition: transform var(--ysp-dur) var(--ysp-ease);
}
.ysp-form-tile:hover .ysp-form-tile__thumbs img { transform: translateY(-2px); }
.ysp-form-tile:hover .ysp-form-tile__thumbs img:nth-child(2) { transition-delay: 40ms; }
.ysp-form-tile:hover .ysp-form-tile__thumbs img:nth-child(3) { transition-delay: 80ms; }
.ysp-form-tile__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; font-size: 0.9375rem; color: var(--ysp-teal-700); }
.ysp-form-tile__more .ysp-icon { width: 18px; height: 18px; transition: transform var(--ysp-dur) var(--ysp-ease); }
.ysp-form-tile:hover .ysp-form-tile__more .ysp-icon { transform: translateX(4px); }

/* ===== Product grids & cards ===== */
.ysp-grid { display: grid; gap: clamp(14px, 0.8rem + 1vw, 28px); }
.ysp-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ysp-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ysp-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ysp-grid--featured { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .ysp-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ysp-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ysp-pcard[hidden] { display: none; }
.ysp-pcard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-lg);
  background: #fff;
  color: var(--ysp-ink) !important;
  text-decoration: none;
  transition: transform var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease), border-color var(--ysp-dur) var(--ysp-ease);
}
.ysp-pcard__link:hover { transform: translateY(-4px); box-shadow: var(--ysp-shadow-2); border-color: transparent; }
.ysp-pcard__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ysp-studio); }
.ysp-pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: opacity 600ms var(--ysp-ease), transform 900ms var(--ysp-ease);
}
.ysp-pcard__img--back { opacity: 0; }
.ysp-pcard__link:hover .ysp-pcard__img { transform: scale(1.035); }
.ysp-pcard.has-back .ysp-pcard__link:hover .ysp-pcard__img:not(.ysp-pcard__img--back) { opacity: 0; }
.ysp-pcard.has-back .ysp-pcard__link:hover .ysp-pcard__img--back { opacity: 1; }
.ysp-pcard__body { display: flex; flex-direction: column; flex: 1; padding: clamp(14px, 0.7rem + 0.6vw, 22px); border-top: 1px solid var(--ysp-line); }
.ysp-pcard__form { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ysp-teal-700); }
.ysp-pcard__form .ysp-icon { width: 15px; height: 15px; }
.ysp-pcard__title { margin: 0.4rem 0 0.75rem !important; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem) !important; line-height: 1.2 !important; }
.ysp-pcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 0.875rem; font-weight: 600; color: var(--ysp-navy-500); }
.ysp-pcard__more .ysp-icon { width: 16px; height: 16px; transition: transform var(--ysp-dur) var(--ysp-ease); }
.ysp-pcard__link:hover .ysp-pcard__more { color: var(--ysp-teal-700); }
.ysp-pcard__link:hover .ysp-pcard__more .ysp-icon { transform: translateX(4px); }
@media (max-width: 599px) {
  .ysp-grid--products .ysp-pcard__more { display: none; }
  .ysp-grid--products .ysp-pcard__title { margin-bottom: 0 !important; }
}

.ysp-pcard--featured .ysp-pcard__media { aspect-ratio: 5 / 4; background: #eef3f9; }
.ysp-pcard--featured .ysp-pcard__img { object-position: center 58%; }
.ysp-pcard--featured .ysp-pcard__body { padding: 20px 24px 24px; }
.ysp-pcard--featured .ysp-pcard__title { font-size: 1.5rem !important; }

/* ===== Steps (how to connect) ===== */
.ysp-steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .ysp-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .ysp-steps { gap: 24px; } }
.ysp-step {
  position: relative;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  border-radius: var(--ysp-radius-lg);
  border: 1px solid var(--ysp-line);
  background: #fff;
}
.ysp-steps--dark .ysp-step {
  border-color: rgb(255 255 255 / 0.09);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.015));
}
.ysp-step__num {
  position: absolute;
  top: 24px; right: 28px;
  font: 700 0.875rem/1 var(--ysp-font-heading);
  letter-spacing: 0.06em;
  color: var(--ysp-muted);
  opacity: 0.7;
}
.ysp-steps--dark .ysp-step__num { color: var(--ysp-on-dark-muted); }
.ysp-step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background: var(--ysp-teal-100);
  color: var(--ysp-teal-700);
}
.ysp-steps--dark .ysp-step__icon { background: rgb(127 211 218 / 0.12); color: var(--ysp-teal-300); }
.ysp-step__icon .ysp-icon { width: 26px; height: 26px; }
.ysp-step__title { margin: 0 0 0.5rem !important; font-size: 1.25rem !important; }
.ysp-step__text { margin: 0; color: var(--ysp-muted); }
.ysp-steps--dark .ysp-step__text { color: var(--ysp-on-dark-muted); }

/* ===== Partnership media ===== */
.ysp-partner__media { position: relative; }
.ysp-partner__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
  object-position: 65% center;
  border-radius: var(--ysp-radius-lg);
  box-shadow: var(--ysp-shadow-3);
}
.ysp-partner__media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border-radius: calc(var(--ysp-radius-lg) + 6px);
  border: 1px solid var(--ysp-line);
  background: var(--ysp-mist);
}
@media (min-width: 900px) { .ysp-split--media-first .ysp-partner__media { order: -1; } }

/* ===== CTA band ===== */
.ysp-cta-wrap { padding-top: 0; }
.ysp-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);
  border-radius: 28px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(8 127 140 / 0.55) 0%, rgb(8 127 140 / 0) 55%),
    linear-gradient(135deg, var(--ysp-navy-700) 0%, var(--ysp-navy-900) 70%);
  color: var(--ysp-on-dark-muted);
}
.ysp-cta::before, .ysp-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.08);
}
.ysp-cta::before { width: 460px; height: 460px; right: -140px; top: -200px; }
.ysp-cta::after { width: 300px; height: 300px; right: -60px; top: -120px; }
@media (min-width: 900px) { .ysp-cta { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; } }
.ysp-cta .ysp-eyebrow { color: var(--ysp-teal-300); }
.ysp-cta__title { margin: 0 0 0.75rem !important; color: #fff !important; }
.ysp-cta__text { margin: 0; max-width: 46ch; font-size: var(--ysp-text-lg); }
.ysp-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Inner-page hero ===== */
.ysp-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--ysp-header-h) + clamp(3.5rem, 2rem + 6vw, 7rem)) 0 clamp(3.5rem, 2rem + 5vw, 6rem);
  background: var(--ysp-navy-900);
  color: #fff;
}
.ysp-page-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 75% center;
  opacity: 0.55;
}
.ysp-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(11 34 57 / 0.6) 0%, rgb(11 34 57 / 0) 40%),
    linear-gradient(90deg, rgb(11 34 57 / 0.97) 0%, rgb(11 34 57 / 0.85) 45%, rgb(11 34 57 / 0.45) 100%);
}
.ysp-page-hero__title {
  max-width: 20ch;
  margin: 0 0 1rem !important;
  color: #fff !important;
  letter-spacing: -0.03em !important;
  animation: ysp-rise 900ms var(--ysp-ease) 80ms both;
}
.ysp-page-hero__lead {
  max-width: 46ch;
  margin: 0;
  font-size: var(--ysp-text-lg);
  color: rgb(255 255 255 / 0.82);
  animation: ysp-rise 900ms var(--ysp-ease) 160ms both;
}
@media (prefers-reduced-motion: reduce) { .ysp-page-hero__title, .ysp-page-hero__lead { animation: none; } }

.ysp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ysp-on-dark-muted);
}
.ysp-crumbs a { display: inline-block; padding-block: 4px; color: rgb(255 255 255 / 0.8) !important; text-decoration: none; }
.ysp-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.ysp-crumbs [aria-current] { color: var(--ysp-teal-300); }
.ysp-crumbs--light { color: var(--ysp-muted); margin-bottom: 2rem; }
.ysp-crumbs--light a { color: var(--ysp-muted) !important; }
.ysp-crumbs--light a:hover { color: var(--ysp-navy-700) !important; }
.ysp-crumbs--light [aria-current] { color: var(--ysp-navy-700); }

/* ===== Catalogue ===== */
.ysp-catalogue__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}
.ysp-catalogue__title { margin: 0 0 0.35rem !important; font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem) !important; }
.ysp-catalogue__count { margin: 0; color: var(--ysp-muted); font-size: 0.9375rem; }
.ysp-filter { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  .ysp-catalogue__bar > * { min-width: 0; max-width: 100%; }
  .ysp-filter {
    flex-wrap: nowrap;
    margin-inline: calc(-1 * var(--ysp-gutter));
    padding: 2px var(--ysp-gutter) 6px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .ysp-filter::-webkit-scrollbar { display: none; }
  .ysp-filter__btn { flex-shrink: 0; scroll-snap-align: start; white-space: nowrap; }
}
.ysp-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cfdae5;
  border-radius: var(--ysp-radius-pill);
  background: #fff;
  color: var(--ysp-ink) !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--ysp-dur-fast) var(--ysp-ease), border-color var(--ysp-dur-fast) var(--ysp-ease), color var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-filter__btn .ysp-icon { width: 18px; height: 18px; color: var(--ysp-teal-700); }
.ysp-filter__btn:hover { border-color: var(--ysp-navy-700); }
.ysp-filter__n { padding: 2px 8px; border-radius: var(--ysp-radius-pill); background: var(--ysp-mist); color: var(--ysp-muted); font-size: 0.75rem; }
.ysp-filter__btn[aria-current="true"] { border-color: var(--ysp-navy-700); background: var(--ysp-navy-700); color: #fff !important; }
.ysp-filter__btn[aria-current="true"] .ysp-icon { color: var(--ysp-teal-300); }
.ysp-filter__btn[aria-current="true"] .ysp-filter__n { background: rgb(255 255 255 / 0.16); color: #fff; }
.ysp-catalogue__note { margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0; max-width: 52ch; text-align: center; font-size: 0.9375rem; color: var(--ysp-muted); }
/* Regulatory note (catalogue + product pages) */
.ysp-disclaimer { margin: 1.5rem 0 0; max-width: 52ch; font-size: 0.8125rem; line-height: 1.6; color: var(--ysp-muted); }
.ysp-catalogue__note.ysp-disclaimer { margin: 0.75rem auto 0; max-width: 60ch; }
.ysp-empty { padding: 48px 24px; border-radius: var(--ysp-radius-lg); background: var(--ysp-mist); text-align: center; color: var(--ysp-muted); }

/* ===== Single product ===== */
.ysp-product { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 var(--ysp-section); }
.ysp-product__layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (max-width: 767px) { .ysp-product__layout { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) { .ysp-product__layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.ysp-gallery__stage {
  overflow: hidden;
  border: 1px solid var(--ysp-line);
  border-radius: 28px;
  background: var(--ysp-studio);
}
.ysp-gallery__slide { margin: 0 !important; aspect-ratio: 1; }
.ysp-gallery__slide[hidden] { display: none; }
.ysp-gallery__slide img { width: 100%; height: 100% !important; object-fit: cover; animation: ysp-fade 500ms var(--ysp-ease); }
@keyframes ysp-fade { from { opacity: 0; } to { opacity: 1; } }
.ysp-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
@media (max-width: 599px) {
  .ysp-gallery__thumbs { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ysp-gallery__thumb { flex-shrink: 0; width: 64px !important; height: 64px !important; }
}
.ysp-gallery__thumb {
  display: block;
  width: 78px;
  height: 78px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--ysp-studio);
  box-shadow: inset 0 0 0 1px var(--ysp-line);
  opacity: 0.75;
  transition: border-color var(--ysp-dur-fast) var(--ysp-ease), opacity var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-gallery__thumb img { width: 100%; height: 100% !important; object-fit: cover; }
.ysp-gallery__thumb:hover { opacity: 1; }
.ysp-gallery__thumb[aria-current="true"] { border-color: var(--ysp-teal-600); opacity: 1; }
@media (min-width: 768px) {
  .ysp-product__info { position: sticky; top: calc(var(--ysp-header-h) + 32px); padding-top: 1rem; }
}
.ysp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--ysp-radius-pill);
  background: var(--ysp-teal-100);
  color: var(--ysp-teal-700) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.ysp-tag .ysp-icon { width: 16px; height: 16px; }
.ysp-tag:hover { background: #d3edef; }
.ysp-product__title { margin: 1.25rem 0 1rem !important; font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem) !important; letter-spacing: -0.035em !important; }
.ysp-product__lead { font-size: var(--ysp-text-lg); color: var(--ysp-muted); max-width: 40ch; }
.ysp-product__box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 1.75rem;
  padding: 18px 20px;
  border-radius: var(--ysp-radius-md);
  background: var(--ysp-mist);
  border: 1px solid var(--ysp-line);
}
.ysp-product__box p { margin: 0; font-size: 0.9375rem; color: var(--ysp-ink); }
.ysp-product__box-icon { color: var(--ysp-teal-700); padding-top: 1px; }
.ysp-product__box-icon .ysp-icon { width: 22px; height: 22px; }
.ysp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 1.75rem 0 0 !important; overflow: hidden; border: 1px solid var(--ysp-line); border-radius: var(--ysp-radius-md); background: var(--ysp-line); }
.ysp-specs > div { padding: 14px 18px; background: #fff; }
.ysp-specs dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ysp-muted); }
.ysp-specs dd { margin-top: 4px; font-weight: 600; color: var(--ysp-navy-700); }

/* Pack prices: rendered only when YS Pharma Core allows it (authorised, or an editor preview) */
.ysp-prices { margin-top: 1.75rem; overflow: hidden; border: 1px solid var(--ysp-line); border-radius: var(--ysp-radius-md); background: #fff; box-shadow: var(--ysp-shadow-1); }
.ysp-prices__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 20px; border-bottom: 1px solid var(--ysp-line); background: var(--ysp-mist); }
.ysp-prices__title { margin: 0 !important; font: 600 0.75rem/1.2 var(--ysp-font-body) !important; letter-spacing: 0.08em !important; text-transform: uppercase; color: var(--ysp-muted); }
.ysp-prices__currency { padding: 3px 9px; border-radius: var(--ysp-radius-pill); background: var(--ysp-teal-100); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ysp-teal-700); }
.ysp-prices__list { margin: 0 !important; padding: 0 20px !important; list-style: none; }
.ysp-prices__row { display: flex; align-items: baseline; gap: 12px; margin: 0 !important; padding: 15px 0; border-top: 1px solid var(--ysp-line); }
.ysp-prices__row:first-child { border-top: 0; }
.ysp-prices__label { font-weight: 500; color: var(--ysp-ink); }
.ysp-prices__fill { flex: 1; min-width: 16px; border-bottom: 1px dotted #c3d0dc; }
.ysp-prices__value { font: 700 1.1875rem/1 var(--ysp-font-heading); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ysp-navy-700); }
.ysp-prices__note { margin: 0 !important; padding: 12px 20px 14px; border-top: 1px solid var(--ysp-line); font-size: 0.8125rem; line-height: 1.55; color: var(--ysp-muted); }
.ysp-prices.is-preview { border: 1px dashed #c08a1e; }
.ysp-prices__flag { margin: 0 !important; padding: 9px 20px; border-bottom: 1px dashed #c08a1e; background: #fdf5e2; font-size: 0.78125rem; font-weight: 600; line-height: 1.45; color: #6e4b00; }
.ysp-pcard__price { margin: -0.35rem 0 0.75rem; font: 700 0.9375rem/1.3 var(--ysp-font-heading); font-variant-numeric: tabular-nums; color: var(--ysp-navy-700); }
.ysp-pcard__price.is-preview { color: #6e4b00; text-decoration: underline dashed #c08a1e; text-underline-offset: 4px; }

/* ===== About: figures & values ===== */
.ysp-panel-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ysp-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-lg);
  background: #fff;
}
.ysp-figure:first-child {
  grid-column: 1 / -1;
  padding: 32px;
  border: 0;
  background:
    radial-gradient(80% 140% at 100% 0%, rgb(8 127 140 / 0.5) 0%, rgb(8 127 140 / 0) 60%),
    linear-gradient(135deg, var(--ysp-navy-700), var(--ysp-navy-900));
  color: var(--ysp-on-dark-muted);
}
.ysp-figure__num { font: 800 clamp(3.5rem, 3rem + 2vw, 4.5rem)/1 var(--ysp-font-heading); letter-spacing: -0.04em; color: #fff; }
.ysp-figure__label { font-weight: 600; }
.ysp-figure--link { color: var(--ysp-ink) !important; text-decoration: none; transition: box-shadow var(--ysp-dur) var(--ysp-ease), transform var(--ysp-dur) var(--ysp-ease); }
.ysp-figure--link:hover { transform: translateY(-3px); box-shadow: var(--ysp-shadow-2); }
.ysp-figure__icon { color: var(--ysp-teal-700); }
.ysp-figure__icon .ysp-icon { width: 28px; height: 28px; }
.ysp-figure__count { margin-top: auto; font: 800 1.75rem/1 var(--ysp-font-heading); color: var(--ysp-navy-700); }
.ysp-panel-figures .ysp-figure--link:last-child:nth-child(even) { grid-column: 1 / -1; }

.ysp-values { display: grid; gap: 20px; }
@media (min-width: 768px) { .ysp-values { grid-template-columns: repeat(3, 1fr); } }
.ysp-value {
  padding: clamp(2rem, 1.6rem + 1.5vw, 3rem) 1.5rem;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-lg);
  background: #fff;
  text-align: center;
}
.ysp-value__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--ysp-teal-100);
  color: var(--ysp-teal-700);
}
.ysp-value__icon .ysp-icon { width: 30px; height: 30px; }
.ysp-value__title { margin: 0 !important; font-size: 1.5rem !important; }

/* ===== Forms ===== */
.ysp-form-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .ysp-form-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.ysp-form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border: 1px solid var(--ysp-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--ysp-shadow-2);
}
.ysp-form { position: relative; }
.ysp-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ysp-form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .ysp-form__grid { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .ysp-field--full { grid-column: 1 / -1; }
}
.ysp-field__label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; color: var(--ysp-navy-700); }
.ysp-field__req { color: var(--ysp-teal-700); }
.ysp-field__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #c9d5e1;
  border-radius: 12px;
  background: #fff;
  color: var(--ysp-ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--ysp-dur-fast) var(--ysp-ease), box-shadow var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-field__input::placeholder { color: #8796a6; }
.ysp-field__input:hover { border-color: #9fb1c3; }
.ysp-field__input:focus { outline: none; border-color: var(--ysp-teal-600); box-shadow: 0 0 0 4px rgb(8 127 140 / 0.16); }
textarea.ysp-field__input { min-height: 150px; resize: vertical; }
select.ysp-field__input {
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2351657a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.ysp-field.is-invalid .ysp-field__input { border-color: #b42318; box-shadow: 0 0 0 4px rgb(180 35 24 / 0.1); }
.ysp-field__error { display: block; margin-top: 6px; font-size: 0.8125rem; color: #b42318; }
.ysp-check { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0; font-size: 0.875rem; line-height: 1.5; color: var(--ysp-muted); cursor: pointer; }
.ysp-check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ysp-teal-600); }
.ysp-check.is-invalid { color: #b42318; }
.ysp-form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ysp-form__note { margin: 0; font-size: 0.8125rem; color: var(--ysp-muted); }
.ysp-form button[type="submit"].is-loading { opacity: 0.7; cursor: progress; }
.ysp-form__status:empty { display: none; }
.ysp-form__notice {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.ysp-form__notice--success { background: #e9f7f1; color: #0f5132; border: 1px solid #b6e2cd; }
.ysp-form__notice--error { background: #fdeeec; color: #8a1c13; border: 1px solid #f5c2bc; }

.ysp-checklist { display: grid; gap: 14px; margin-top: 1.5rem !important; }
.ysp-checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ysp-navy-700); }
.ysp-checklist .ysp-icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--ysp-teal-100); color: var(--ysp-teal-700); }

.ysp-contact-links { display: grid; gap: 12px; margin-top: 2rem; }
.ysp-contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-md);
  background: #fff;
  color: var(--ysp-muted) !important;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: box-shadow var(--ysp-dur) var(--ysp-ease), transform var(--ysp-dur) var(--ysp-ease);
}
.ysp-contact-link:hover { transform: translateY(-2px); box-shadow: var(--ysp-shadow-1); }
.ysp-contact-link strong { display: block; color: var(--ysp-navy-700); font-weight: 600; }
.ysp-contact-link__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ysp-teal-100); color: var(--ysp-teal-700); }
.ysp-contact-link__icon .ysp-icon { width: 22px; height: 22px; }

/* ===== Footer ===== */
.ysp-footer { padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); background: var(--ysp-navy-900); color: var(--ysp-on-dark-muted); font-size: 0.9375rem; }
.ysp-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .ysp-footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 1100px) { .ysp-footer__grid { grid-template-columns: 1.6fr 0.9fr 1fr 1.3fr; } }
.ysp-footer__tagline { margin: 1.5rem 0 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ysp-teal-300); }
.ysp-footer__summary { max-width: 38ch; margin: 0; line-height: 1.7; }
.ysp-footer__heading { margin: 0 0 1.25rem !important; font: 600 0.8125rem/1.2 var(--ysp-font-body) !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: #fff !important; }
.ysp-footer ul { margin: 0; padding: 0; list-style: none; }
.ysp-footer__col li + li { margin-top: 12px; }
.ysp-footer__col a:not(.ysp-link-arrow) { display: inline-block; padding-block: 2px; min-height: 24px; color: var(--ysp-on-dark-muted) !important; text-decoration: none; }
.ysp-footer__col a:not(.ysp-link-arrow):hover { color: #fff !important; }
.ysp-footer__contact p { margin: 0; line-height: 1.7; }
.ysp-footer__contact .ysp-link-arrow { margin-top: 1rem; }
.ysp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding: 24px 0 32px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem;
}
.ysp-footer__bottom p { margin: 0; }
.ysp-to-top { color: var(--ysp-on-dark-muted) !important; text-decoration: none; }
.ysp-to-top:hover { color: #fff !important; }
.ysp-footer__privacy { color: var(--ysp-on-dark-muted) !important; text-decoration: underline; text-underline-offset: 3px; }
.ysp-footer__privacy:hover { color: #fff !important; }
.ysp-footer__sep { margin-inline: 6px; opacity: 0.6; }

/* ===== Generic content, 404 ===== */
.ysp-article__head { padding: clamp(3rem, 2rem + 4vw, 5rem) 0 2rem; background: var(--ysp-mist); }
.ysp-article__title { margin: 0 !important; }
.ysp-prose { padding-block: 2.5rem 5rem; }
.ysp-prose > * + * { margin-top: 1.1em; }
.ysp-prose :where(ul, ol):not([class]) { padding-left: 1.25em; }
.ysp-product .ysp-prose { padding-block: 1rem 0; }

.ysp-notfound { padding: clamp(4rem, 3rem + 6vw, 8rem) 0; text-align: center; }
.ysp-notfound__code {
  margin: 0;
  font: 800 clamp(6rem, 4rem + 10vw, 11rem)/1 var(--ysp-font-heading);
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--ysp-navy-700), var(--ysp-teal-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ysp-notfound__title { margin: 0.5rem 0 1rem !important; }
.ysp-notfound .ysp-lead { margin-inline: auto; }
.ysp-notfound .ysp-actions { justify-content: center; }

/* ===== Cookie banner (SureCookie) — brand alignment and contrast ===== */
.ysp .surecookie-public-banner-wrapper,
.ysp .surecookie-public-banner,
.ysp .surecookie-preferences-modal {
  --surecookie-banner-primary-color: var(--ysp-navy-700) !important;
  --surecookie-banner-primary-hover-color: var(--ysp-teal-700) !important;
  --surecookie-banner-primary-text-color: #fff !important;
  --surecookie-banner-secondary-color: #fff !important;
  --surecookie-banner-secondary-text-color: var(--ysp-navy-700) !important;
  --surecookie-banner-text-color: var(--ysp-ink) !important;
  --surecookie-banner-background-color: #fff !important;
  font-family: var(--ysp-font-body) !important;
}
.ysp .surecookie-btn-base { border-radius: var(--ysp-radius-pill) !important; font-family: var(--ysp-font-body) !important; font-weight: 600 !important; }
.ysp .surecookie-banner-container-box,
.ysp .surecookie-banner-container-box-with-logo { border-radius: 18px !important; box-shadow: var(--ysp-shadow-3) !important; border: 1px solid var(--ysp-line) !important; }
.ysp [class*="surecookie-branding"],
.ysp [class*="surecookie-branding"] span { color: var(--ysp-muted) !important; opacity: 1 !important; }

/* ===== Print ===== */
@media print {
  .ysp-header, .ysp-drawer, .ysp-hero__controls, .ysp-footer, .ysp-cta-wrap { display: none !important; }
  .ysp-main { padding-top: 0 !important; }
}

/* ===== Leadership (About Us): the portrait's navy background matches the section ===== */
.ysp-leader { overflow: hidden; }
.ysp-leader__grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 5.5rem); align-items: center; }
@media (min-width: 900px) { .ysp-leader__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.ysp-leader__media { position: relative; isolation: isolate; width: 100%; max-width: 460px; margin: 0 auto; }
.ysp-leader__media::before {
  content: "";
  position: absolute;
  inset: 8% -14% -6% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(127 211 218 / 0.18), transparent 72%);
}
.ysp-leader__media::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid rgb(127 211 218 / 0.32);
  border-radius: var(--ysp-radius-lg);
}
.ysp-leader__img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 56% 18%;
  border-radius: var(--ysp-radius-lg);
  background: #0c2239;
  box-shadow: 0 32px 64px -32px rgb(0 0 0 / 0.65);
}
.ysp-leader__copy .ysp-head { margin-bottom: 1.75rem; }
.ysp-leader__quote {
  margin: 0 0 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--ysp-teal-300);
  font-size: var(--ysp-text-lg);
  line-height: 1.7;
  color: #dbe5ee;
}
.ysp-leader__quote p { margin: 0 0 1rem; }
.ysp-leader__quote p:last-child { margin-bottom: 0; }
.ysp-leader__person { display: flex; flex-direction: column; gap: 8px; }
.ysp-leader__quote + .ysp-leader__person { padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.12); }
.ysp-leader__name { margin: 0; font: 700 clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem)/1.15 var(--ysp-font-heading); letter-spacing: -0.02em; color: #fff; }
.ysp-leader__role { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ysp-teal-300); }
.ysp-leader__text { margin: 1.5rem 0 0; max-width: 44ch; font-size: var(--ysp-text-lg); color: var(--ysp-on-dark-muted); }
.ysp-leader .ysp-actions { margin-top: 2.25rem; }
@media (max-width: 899px) { .ysp-leader__media { max-width: 400px; } .ysp-leader__media::after { inset: 16px -12px -16px 12px; } }

/* Mission & vision (shown only once approved wording is entered) */
.ysp-purpose { display: grid; gap: 20px; max-width: 64rem; margin-inline: auto; }
@media (min-width: 768px) { .ysp-purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ysp-purpose__card { padding: clamp(24px, 1rem + 1.5vw, 36px); border: 1px solid var(--ysp-line); border-radius: var(--ysp-radius-lg); background: #fff; box-shadow: var(--ysp-shadow-1); }
.ysp-purpose__title { margin: 1.1rem 0 0.75rem !important; font-size: 1.375rem !important; }
.ysp-purpose__text p { margin: 0 0 0.75rem; color: var(--ysp-muted); }

/* Founder link (homepage introduction) */
.ysp-founder-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 31rem;
  margin: 2rem 0 1.5rem;
  padding: 10px 20px 10px 10px;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-pill);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--ysp-dur) var(--ysp-ease), transform var(--ysp-dur) var(--ysp-ease);
}
.ysp-founder-chip:hover { transform: translateY(-2px); box-shadow: var(--ysp-shadow-1); }
.ysp-founder-chip__img { flex-shrink: 0; width: 58px; height: 58px !important; border-radius: 50%; object-fit: cover; object-position: 56% 20%; background: #0c2239; }
.ysp-founder-chip__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ysp-founder-chip__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ysp-muted); }
.ysp-founder-chip__name { font: 700 1.0625rem/1.3 var(--ysp-font-heading); color: var(--ysp-navy-700); }
.ysp-founder-chip__role { font-size: 0.875rem; font-weight: 500; color: var(--ysp-teal-700); }
.ysp-founder-chip__more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; white-space: nowrap; font-size: 0.875rem; font-weight: 600; color: var(--ysp-navy-500); }
.ysp-founder-chip__more .ysp-icon { width: 16px; height: 16px; transition: transform var(--ysp-dur) var(--ysp-ease); }
.ysp-founder-chip:hover .ysp-founder-chip__more { color: var(--ysp-teal-700); }
.ysp-founder-chip:hover .ysp-founder-chip__more .ysp-icon { transform: translateX(4px); }
@media (max-width: 479px) { .ysp-founder-chip__more { font-size: 0; } .ysp-founder-chip__more .ysp-icon { width: 20px; height: 20px; } }

/* ===== Business phone: Contact page card, footer line, compact button on phones ===== */
.ysp-callbox { margin-top: 2rem; padding: 22px 22px 20px; border-radius: var(--ysp-radius-lg); background: var(--ysp-navy-900); color: var(--ysp-on-dark-muted); box-shadow: var(--ysp-shadow-2); }
.ysp-callbox__label { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ysp-teal-300); }
.ysp-callbox__number {
  display: inline-block;
  margin: 6px 0 18px;
  font: 800 clamp(1.5rem, 1.25rem + 1vw, 1.875rem)/1.15 var(--ysp-font-heading);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: #fff !important;
  text-decoration: none;
}
.ysp-callbox__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ysp-cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--ysp-radius-pill);
  background: rgb(255 255 255 / 0.06);
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--ysp-dur-fast) var(--ysp-ease), border-color var(--ysp-dur-fast) var(--ysp-ease), color var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-cbtn .ysp-icon { flex-shrink: 0; width: 19px; height: 19px; color: var(--ysp-teal-300); }
.ysp-cbtn--whatsapp .ysp-icon { color: #4fd98a; }
.ysp-cbtn:hover, .ysp-cbtn:focus-visible { border-color: #fff; background: #fff; color: var(--ysp-navy-900) !important; }
.ysp-cbtn:hover .ysp-icon, .ysp-cbtn:focus-visible .ysp-icon { color: var(--ysp-teal-700); }
.ysp-cbtn--whatsapp:hover .ysp-icon, .ysp-cbtn--whatsapp:focus-visible .ysp-icon { color: #128c4a; }
/* Small screens: icon-above-label tiles so all three fit on one row */
@media (max-width: 519px) {
  .ysp-callbox { padding: 20px 16px 16px; }
  .ysp-callbox__actions { gap: 8px; }
  .ysp-cbtn { flex-direction: column; gap: 5px; min-height: 66px; padding: 10px 4px; border-radius: var(--ysp-radius-md); font-size: 0.875rem; }
  .ysp-cbtn .ysp-icon { width: 21px; height: 21px; }
}

.ysp-footer__phone { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.1); }
.ysp-footer__tel { display: inline-flex; align-items: center; gap: 10px; font: 700 1.125rem/1.2 var(--ysp-font-heading); font-variant-numeric: tabular-nums; color: #fff !important; text-decoration: none; }
.ysp-footer__tel .ysp-icon { width: 20px; height: 20px; color: var(--ysp-teal-300); }
.ysp-footer__phone-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.ysp-footer__plink { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--ysp-teal-300) !important; text-decoration: none; }
.ysp-footer__plink .ysp-icon { width: 16px; height: 16px; }
.ysp-footer__tel:hover span, .ysp-footer__plink:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

.ysp-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; }
.ysp-fab__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px 0 15px;
  border-radius: var(--ysp-radius-pill);
  background: var(--ysp-navy-900);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgb(11 34 57 / 0.6);
}
.ysp-fab__toggle::-webkit-details-marker { display: none; }
.ysp-fab__toggle .ysp-icon { width: 20px; height: 20px; color: var(--ysp-teal-300); }
.ysp-fab[open] .ysp-fab__toggle { background: var(--ysp-navy-700); }
.ysp-fab__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 2px;
  width: min(250px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-md);
  background: #fff;
  box-shadow: var(--ysp-shadow-3);
}
.ysp-fab__number { margin-bottom: 4px; padding: 6px 10px 10px; border-bottom: 1px solid var(--ysp-line); font: 700 1rem/1.2 var(--ysp-font-heading); font-variant-numeric: tabular-nums; color: var(--ysp-navy-700); }
.ysp-fab__link { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 10px; border-radius: var(--ysp-radius-sm); color: var(--ysp-navy-700) !important; font-weight: 600; text-decoration: none; }
.ysp-fab__link .ysp-icon { width: 20px; height: 20px; color: var(--ysp-teal-700); }
.ysp-fab__link--whatsapp .ysp-icon { color: #128c4a; }
.ysp-fab__link:hover, .ysp-fab__link:focus-visible { background: var(--ysp-mist); }
.ysp-has-drawer .ysp-fab, .ysp-fab.is-hidden { display: none; }
@media (min-width: 900px) { .ysp-fab { display: none; } }
@media (prefers-reduced-motion: no-preference) { .ysp-fab[open] .ysp-fab__menu { animation: ysp-fab-in var(--ysp-dur) var(--ysp-ease); } }
@keyframes ysp-fab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Editor previews of content that is not public yet */
.ysp-preview-flag { margin: 0 0 12px; padding: 7px 10px; border: 1px dashed #c08a1e; border-radius: var(--ysp-radius-sm); background: #fdf5e2; color: #6e4b00; font-size: 0.75rem; font-weight: 600; line-height: 1.4; }
.ysp-callbox.is-preview, .ysp-footer__phone.is-preview { outline: 1px dashed #e0a630; outline-offset: 6px; }
.ysp-fab.is-preview .ysp-fab__toggle { outline: 2px dashed #e0a630; outline-offset: 2px; }

/* ===== Phase 5: original artwork, section rhythm, refined cards ===== */

/* Inner-page hero artwork (About, Contact): abstract molecular network, no photography */
.ysp-page-hero__art { position: absolute; inset: var(--ysp-header-h) 0 0; z-index: -2; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.ysp-page-hero__art .ysp-art { width: min(1000px, 80%); height: auto; margin-right: -3%; }
.ysp-page-hero--art::after {
  background:
    linear-gradient(180deg, rgb(11 34 57 / 0.5) 0%, rgb(11 34 57 / 0) 32%),
    linear-gradient(90deg, rgb(11 34 57 / 0.9) 0%, rgb(11 34 57 / 0.5) 42%, rgb(11 34 57 / 0) 78%);
}
@media (max-width: 767px) {
  .ysp-page-hero__art { opacity: 0.5; }
  .ysp-page-hero__art .ysp-art { width: 160%; max-width: none; margin-right: -55%; }
}

/* Distribution illustration (replaces a repeated photo) */
.ysp-flow { position: relative; isolation: isolate; width: 100%; max-width: 600px; margin: 0 auto; }
.ysp-flow::before {
  content: "";
  position: absolute;
  inset: -18px 18px 52px -18px;
  z-index: -1;
  border: 1px solid var(--ysp-line);
  border-radius: calc(var(--ysp-radius-lg) + 6px);
  background: var(--ysp-mist);
}
.ysp-flow__art .ysp-art { display: block; width: 100%; height: auto; border-radius: var(--ysp-radius-lg); box-shadow: var(--ysp-shadow-3); }
.ysp-flow__labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; text-align: center; }
.ysp-flow__labels span { font-size: 0.8125rem; font-weight: 600; line-height: 1.35; letter-spacing: 0.01em; color: var(--ysp-navy-700); }
@media (max-width: 479px) { .ysp-flow::before { inset: -10px 10px 56px -10px; } .ysp-flow__labels span { font-size: 0.75rem; } }

/* Section rhythm: a fading hexagonal lattice on light sections, a faint network on dark bands */
.ysp-section--alt {
  background-image: url("../img/art-lattice.svg");
  background-repeat: no-repeat;
  background-position: right -40px top -30px;
  background-size: min(620px, 78vw) auto;
}
.ysp-section--dark:not(.ysp-leader) {
  background-image:
    url("../img/art-network-dark.svg"),
    radial-gradient(55% 75% at 100% 100%, rgb(42 86 131 / 0.38), rgb(42 86 131 / 0) 70%);
  background-repeat: no-repeat;
  background-position: right -60px bottom -50px, 0 0;
  background-size: min(780px, 90vw) auto, 100% 100%;
}

/* Process steps: outlined numerals, accent line, connectors between cards */
.ysp-steps--dark .ysp-step { background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02)), rgb(11 34 57 / 0.86); }
.ysp-steps { --ysp-steps-gap: 20px; gap: var(--ysp-steps-gap); }
@media (min-width: 768px) { .ysp-steps { --ysp-steps-gap: 16px; } }
@media (min-width: 1100px) { .ysp-steps { --ysp-steps-gap: 24px; } }
.ysp-step { transition: border-color var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease); }
.ysp-step:hover { border-color: rgb(8 127 140 / 0.28); box-shadow: var(--ysp-shadow-2); }
.ysp-steps--dark .ysp-step:hover { border-color: rgb(127 211 218 / 0.28); box-shadow: 0 22px 44px -24px rgb(0 0 0 / 0.65); }
.ysp-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ysp-teal-600), rgb(127 211 218 / 0));
  transform-origin: left center;
  transition: transform var(--ysp-dur-slow) var(--ysp-ease) 250ms;
}
.ysp-steps--dark .ysp-step::before { background: linear-gradient(90deg, var(--ysp-teal-300), rgb(127 211 218 / 0)); }
.ysp-js .ysp-step::before { transform: scaleX(0.15); }
.ysp-js .ysp-step.is-revealed::before { transform: scaleX(1); }
.ysp-step__num {
  top: 16px;
  right: 22px;
  font: 800 clamp(2.125rem, 1.7rem + 1.2vw, 2.875rem)/1 var(--ysp-font-heading);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(18 54 90 / 0.2);
  opacity: 1;
}
.ysp-steps--dark .ysp-step__num { color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.2); }
.ysp-step__icon { transition: transform var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease); }
.ysp-step:hover .ysp-step__icon { transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgb(8 127 140 / 0.7); }
@media (min-width: 768px) {
  .ysp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: calc(clamp(1.75rem, 1.4rem + 1vw, 2.5rem) + 15px);
    right: calc(var(--ysp-steps-gap) / -2 - 12px);
    width: 24px;
    height: 24px;
    border: 1px solid var(--ysp-line);
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23066a75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 13px no-repeat;
    box-shadow: var(--ysp-shadow-1);
  }
  .ysp-steps--dark .ysp-step:not(:last-child)::after {
    border-color: rgb(127 211 218 / 0.3);
    background-color: #12324f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd3da' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E");
  }
}

/* Core values: richer cards */
.ysp-value {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 55%, rgb(244 248 251 / 0.9));
  transition: border-color var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease);
}
.ysp-value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgb(8 127 140 / 0), var(--ysp-teal-600), rgb(8 127 140 / 0));
  opacity: 0.75;
}
.ysp-value__icon {
  box-shadow: 0 0 0 9px rgb(8 127 140 / 0.07), 0 0 0 18px rgb(8 127 140 / 0.035);
  margin-bottom: 1.75rem;
  transition: transform var(--ysp-dur) var(--ysp-ease);
}
.ysp-value:hover { border-color: rgb(8 127 140 / 0.3); box-shadow: var(--ysp-shadow-2); }
.ysp-value:hover .ysp-value__icon { transform: translateY(-3px); }

/* Microanimations (only when the visitor has not asked for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .ysp-page-hero__art .ysp-art { animation: ysp-art-in 1.6s var(--ysp-ease) 120ms both; }
  .ysp-art--network .ysp-art__flow,
  .ysp-art--connect .ysp-art__flow { animation: ysp-dash-14 2.8s linear infinite; }
  .ysp-flow.is-revealed .ysp-art__flow,
  .ysp-flow:not([data-reveal]) .ysp-art__flow,
  html:not(.ysp-js) .ysp-art--flow .ysp-art__flow { animation: ysp-dash-18 2.2s linear infinite; animation-delay: var(--d, 0s); }
  .ysp-art__halo { transform-box: fill-box; transform-origin: center; animation: ysp-halo 4.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .ysp-art__signal { transform-box: fill-box; transform-origin: center; animation: ysp-signal 6s ease-out infinite; animation-delay: var(--d, 0s); }
}
@keyframes ysp-art-in { from { opacity: 0; transform: translateX(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes ysp-dash-14 { to { stroke-dashoffset: -56; } }
@keyframes ysp-dash-18 { to { stroke-dashoffset: -54; } }
@keyframes ysp-halo { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes ysp-signal { 0% { opacity: 0; transform: scale(0.7); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }

/* Very narrow screens: long button labels wrap instead of forcing the layout wider */
@media (max-width: 420px) { .ysp-btn { white-space: normal; text-align: center; } }

/* Keep each thumbnail's screen-reader label inside the scrolling strip */
.ysp-gallery__thumb { position: relative; }

/* ===== Phase 6: public business phone (24/7) and evergreen portfolio figures ===== */
.ysp-callbox__avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 5px 12px 5px 10px;
  border-radius: var(--ysp-radius-pill);
  background: rgb(79 217 138 / 0.12);
  color: #9ff2c3;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}
.ysp-callbox__avail::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #4fd98a; box-shadow: 0 0 0 3px rgb(79 217 138 / 0.22); }
.ysp-callbox__number { margin-bottom: 4px; }
.ysp-callbox__person { margin: 0 0 18px; font-size: 0.875rem; color: var(--ysp-on-dark-muted); }
.ysp-callbox__note { margin: 14px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--ysp-on-dark-muted); }
@media (prefers-reduced-motion: no-preference) { .ysp-callbox__avail::before { animation: ysp-live 2.6s ease-in-out infinite; } }
@keyframes ysp-live { 0%, 100% { box-shadow: 0 0 0 3px rgb(79 217 138 / 0.22); } 50% { box-shadow: 0 0 0 6px rgb(79 217 138 / 0.06); } }
.ysp-footer__avail { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--ysp-on-dark-muted); }
.ysp-fab__number { display: flex; flex-direction: column; gap: 3px; }
.ysp-fab__avail { font: 500 0.75rem/1.3 var(--ysp-font-body); color: var(--ysp-teal-700); }

.ysp-form-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 2rem 0 0 !important; padding: 1.5rem 0 0 !important; border-top: 1px solid var(--ysp-line); list-style: none; }
.ysp-form-pills li { margin: 0 !important; }
.ysp-form-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--ysp-line);
  border-radius: var(--ysp-radius-pill);
  background: #fff;
  color: var(--ysp-navy-700) !important;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--ysp-dur) var(--ysp-ease), box-shadow var(--ysp-dur) var(--ysp-ease), transform var(--ysp-dur) var(--ysp-ease);
}
.ysp-form-pill .ysp-icon { width: 18px; height: 18px; color: var(--ysp-teal-700); }
.ysp-form-pill:hover { border-color: rgb(8 127 140 / 0.35); box-shadow: var(--ysp-shadow-1); transform: translateY(-2px); }
.ysp-figure__kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ysp-teal-300); }
.ysp-figure__title { max-width: 24ch; font: 700 clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem)/1.25 var(--ysp-font-heading); letter-spacing: -0.015em; color: #fff; }
.ysp-figure__go { margin-top: auto; color: var(--ysp-teal-700); }
.ysp-figure__go .ysp-icon { width: 20px; height: 20px; transition: transform var(--ysp-dur) var(--ysp-ease); }
.ysp-figure--link:hover .ysp-figure__go .ysp-icon { transform: translateX(4px); }

/* Footer phone links keep icon beside text (the 24px tap-target rule sets inline-block on footer links) */
.ysp-footer__col a.ysp-footer__tel, .ysp-footer__col a.ysp-footer__plink { display: inline-flex; align-items: center; }
.ysp-footer__col a.ysp-footer__tel { gap: 10px; }
.ysp-footer__col a.ysp-footer__plink { gap: 6px; }
/* Keep the compact contact button distinct over dark sections */
.ysp-fab__toggle { border: 1px solid rgb(127 211 218 / 0.4); }

/* ===== Phase 7: floating contact group, address & map, social links, product information ===== */

/* Contact actions: WhatsApp / Call / SMS (Phase 9)
   From 1100px (desktop navigation): three floating round buttons bottom right. They sit in the
   page's side margin; between 1100 and 1359px the content column gets a slightly wider margin
   (--ysp-side) so the buttons never sit over content. Phones and tablets: one round launcher in
   the sticky header (space that is always reserved), opening a small panel with the same three
   links. No bottom bar, nothing floating over content at rest. */
:root { --ysp-side: var(--ysp-gutter); }
@media (min-width: 1100px) and (max-width: 1359.98px) {
  :root { --ysp-side: max(var(--ysp-gutter), 84px); }
  .ysp-container { width: min(100% - 2 * var(--ysp-side), var(--ysp-container)); }
}

.ysp-float { display: none; }
.ysp-float__list { margin: 0 !important; padding: 0 !important; list-style: none; }
.ysp-float__list li { margin: 0 !important; }
.ysp-float__btn, .ysp-hcontact__circle { color: #fff !important; text-decoration: none; }
.ysp-float__btn--whatsapp, .ysp-hcontact__action--whatsapp .ysp-hcontact__circle { background: linear-gradient(145deg, #1a9a55, #10703a); }
.ysp-float__btn--call, .ysp-hcontact__action--call .ysp-hcontact__circle { background: linear-gradient(145deg, #0a8592, var(--ysp-teal-700)); }
.ysp-float__btn--sms, .ysp-hcontact__action--sms .ysp-hcontact__circle { background: linear-gradient(145deg, #1d4c7a, var(--ysp-navy-700)); }

@media (min-width: 1100px) {
  .ysp-float {
    position: fixed;
    right: max(18px, calc(env(safe-area-inset-right) + 10px));
    bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transition: opacity var(--ysp-dur) var(--ysp-ease);
  }
  .ysp-float.is-hidden, .ysp-has-drawer .ysp-float { display: none; }
  .ysp-float.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--ysp-dur) var(--ysp-ease), visibility 0s linear var(--ysp-dur); }
  .ysp-float__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgb(11 34 57 / 0.95);
    color: #cfe9ec;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 10px 24px -12px rgb(11 34 57 / 0.6);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity var(--ysp-dur-fast) var(--ysp-ease), transform var(--ysp-dur-fast) var(--ysp-ease);
  }
  .ysp-float__number { color: #fff; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
  .ysp-float:hover .ysp-float__caption, .ysp-float:focus-within .ysp-float__caption { opacity: 1; transform: none; }
  .ysp-float__list { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
  .ysp-float__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 14px 28px -12px rgb(11 34 57 / 0.7), 0 2px 6px rgb(11 34 57 / 0.18), inset 0 1px 0 rgb(255 255 255 / 0.22);
    transition: transform var(--ysp-dur-fast) var(--ysp-ease), box-shadow var(--ysp-dur-fast) var(--ysp-ease);
  }
  .ysp-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
  .ysp-float__btn .ysp-icon { width: 24px; height: 24px; }
  .ysp-float__btn:hover, .ysp-float__btn:focus-visible { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 32px -12px rgb(11 34 57 / 0.8), 0 3px 8px rgb(11 34 57 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.28); }
  .ysp-float__btn:focus-visible { outline: 3px solid var(--ysp-teal-300); outline-offset: 3px; }
  .ysp-float__label {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    padding: 6px 12px;
    border-radius: var(--ysp-radius-pill);
    background: #fff;
    color: var(--ysp-navy-700);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--ysp-shadow-2);
    opacity: 0;
    transform: translate(6px, -50%);
    pointer-events: none;
    transition: opacity var(--ysp-dur-fast) var(--ysp-ease), transform var(--ysp-dur-fast) var(--ysp-ease);
  }
  .ysp-float__btn:hover .ysp-float__label, .ysp-float__btn:focus-visible .ysp-float__label { opacity: 1; transform: translate(0, -50%); }
  .ysp-hcontact { display: none; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .ysp-float__list li { animation: ysp-float-in 0.5s var(--ysp-ease) both; }
  .ysp-float__list li:nth-child(2) { animation-delay: 70ms; }
  .ysp-float__list li:nth-child(3) { animation-delay: 140ms; }
}
@keyframes ysp-float-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Phones and tablets: contact launcher in the header */
.ysp-hcontact { position: relative; margin-right: -12px; }
.ysp-hcontact__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a8592, var(--ysp-teal-700));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px -10px rgb(6 106 117 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.ysp-hcontact__btn .ysp-icon { width: 21px; height: 21px; }
.ysp-hcontact__btn:focus-visible { outline: 3px solid var(--ysp-teal-300); outline-offset: 3px; }
.ysp-hcontact__dot { position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #2fbf71; }
.ysp-has-hero .ysp-header:not(.is-scrolled) .ysp-hcontact__dot { border-color: var(--ysp-navy-900); }
.ysp-hcontact__btn[aria-expanded="true"] { background: var(--ysp-navy-900); }
.ysp-hcontact__panel {
  position: fixed;
  top: calc(var(--ysp-header-h) + 10px);
  right: max(var(--ysp-gutter), env(safe-area-inset-right));
  z-index: 120;
  width: min(328px, calc(100vw - 2 * var(--ysp-gutter)));
  padding: 18px 18px 14px;
  border: 1px solid var(--ysp-line);
  border-radius: 20px;
  background: #fff;
  color: var(--ysp-ink);
  box-shadow: 0 24px 48px -20px rgb(11 34 57 / 0.45), 0 4px 12px rgb(11 34 57 / 0.08);
}
.ysp-hcontact__panel[hidden] { display: none; }
.ysp-hcontact__title { margin: 0; font: 600 0.75rem/1.3 var(--ysp-font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ysp-teal-700); }
.ysp-hcontact__number { margin: 4px 0 14px; font: 700 1.25rem/1.2 var(--ysp-font-heading); color: var(--ysp-navy-900); font-variant-numeric: tabular-nums; }
.ysp-hcontact__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ysp-hcontact__list li { margin: 0 !important; }
.ysp-hcontact__action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; color: var(--ysp-navy-700) !important; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.ysp-hcontact__action:hover { background: var(--ysp-mist); }
.ysp-hcontact__action:focus-visible { outline: 3px solid var(--ysp-teal-300); outline-offset: 1px; }
.ysp-hcontact__circle { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 10px 20px -12px rgb(11 34 57 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.22); }
.ysp-hcontact__circle .ysp-icon { width: 23px; height: 23px; }
.ysp-hcontact__note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--ysp-line); font-size: 0.75rem; line-height: 1.45; color: var(--ysp-muted); }
@media (prefers-reduced-motion: no-preference) {
  .ysp-hcontact__panel:not([hidden]) { animation: ysp-pop 0.22s var(--ysp-ease) both; }
}
@keyframes ysp-pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }
.ysp-has-drawer .ysp-hcontact__panel { display: none; }

/* Homepage hero: text aligned with the content column, with a fluid art-directed inset */
.ysp-hero { --ysp-hero-x: calc(max(var(--ysp-side), (100% - var(--ysp-container)) / 2) + clamp(0px, 4vw - 24px, 72px)); --ysp-hero-r: max(var(--ysp-side), (100% - var(--ysp-container)) / 2); }
.ysp-hero__content { padding-left: var(--ysp-hero-x); padding-right: var(--ysp-hero-r); }
.ysp-hero__controls { padding-left: var(--ysp-hero-x); padding-right: var(--ysp-hero-r); }
.ysp-hero__copy { max-width: min(40rem, 100%); }
.ysp-hero__text { max-width: 33rem; }

/* Form confirmation (after a successful inquiry) */
.ysp-form__notice--success.is-confirm { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.ysp-form__notice--success.is-confirm::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #1a7f4b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Key facts (product hero) */
.ysp-facts { display: grid; gap: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--ysp-line); }
.ysp-facts__row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ysp-line); }
.ysp-facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--ysp-muted); }
.ysp-facts dd { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--ysp-navy-900); overflow-wrap: anywhere; }
.ysp-product__box a { font-weight: 600; }

/* Product information */
.ysp-pi { padding-top: clamp(3rem, 2rem + 3vw, 5rem); background: linear-gradient(180deg, var(--ysp-mist), #fff 420px); }
.ysp-pi__head { max-width: 46rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.ysp-pi__title { margin: 0.35rem 0 0.5rem !important; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem) !important; }
.ysp-pi__meta { margin: 0; color: var(--ysp-muted); font-size: 0.9375rem; }
.ysp-pi__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.ysp-pi__nav { min-width: 0; }
.ysp-pi__nav ul { display: flex; gap: 8px; margin: 0 !important; padding: 0 0 4px !important; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.ysp-pi__nav li { margin: 0 !important; flex: none; }
.ysp-pi__nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--ysp-line); border-radius: var(--ysp-radius-pill); background: #fff; color: var(--ysp-navy-700) !important; font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ysp-pi__nav a:hover { border-color: var(--ysp-teal-700); color: var(--ysp-teal-700) !important; }
.ysp-pi__nav .ysp-icon { width: 18px; height: 18px; color: var(--ysp-teal-700); }
@media (min-width: 1100px) {
  .ysp-pi__layout { grid-template-columns: 230px minmax(0, 1fr); align-items: start; }
  .ysp-pi__nav { position: sticky; top: calc(var(--ysp-header-h) + 24px); }
  .ysp-pi__nav ul { flex-direction: column; overflow: visible; }
  .ysp-pi__nav a { width: 100%; border-color: transparent; background: transparent; border-radius: 12px; }
  .ysp-pi__nav a:hover { background: #fff; border-color: var(--ysp-line); }
}
.ysp-pi__body { display: grid; gap: 16px; min-width: 0; }
.ysp-pi-card { scroll-margin-top: calc(var(--ysp-header-h) + 20px); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--ysp-line); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgb(11 34 57 / 0.04); min-width: 0; }
.ysp-pi-card__title { display: flex; align-items: center; gap: 12px; margin: 0 0 1rem !important; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem) !important; }
.ysp-pi-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--ysp-teal-100); color: var(--ysp-teal-700); }
.ysp-pi-card__icon .ysp-icon { width: 21px; height: 21px; }
.ysp-pi-card p { max-width: 72ch; }
.ysp-pi-lead { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--ysp-ink); }
.ysp-pi-basis { margin: 0 0 0.75rem; font-weight: 600; color: var(--ysp-navy-700); }
.ysp-pi-small { margin: 0.9rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--ysp-muted); }
.ysp-pi-table-wrap { overflow-x: auto; border: 1px solid var(--ysp-line); border-radius: 14px; }
.ysp-pi-table-wrap:focus-visible { outline: 3px solid var(--ysp-teal-300); outline-offset: 2px; }
.ysp-pi-table { width: 100%; margin: 0 !important; border-collapse: collapse; font-size: 0.9375rem; }
.ysp-pi-table th, .ysp-pi-table td { padding: 11px 14px; border-bottom: 1px solid var(--ysp-line); text-align: left; vertical-align: top; }
.ysp-pi-table tbody tr:last-child > * { border-bottom: 0; }
.ysp-pi-table thead th { background: var(--ysp-mist); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ysp-muted); white-space: nowrap; }
.ysp-pi-table tbody th { font-weight: 600; color: var(--ysp-navy-900); overflow-wrap: anywhere; }
.ysp-pi-table tbody tr:nth-child(even) > * { background: rgb(244 248 251 / 0.6); }
.ysp-pi-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ysp-pi-table--comp td:last-child { width: 4.5rem; color: var(--ysp-muted); }
@media (max-width: 599.98px) {
  .ysp-pi-table th, .ysp-pi-table td { padding: 10px 10px; font-size: 0.875rem; }
}
.ysp-pi-groups { display: grid; gap: 12px; }
@media (min-width: 760px) { .ysp-pi-groups { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.ysp-pi-group { padding: 16px 18px; border-radius: 14px; background: var(--ysp-mist); }
.ysp-pi-group.is-strong { background: #fff6ee; box-shadow: inset 3px 0 0 #c2570c; }
.ysp-pi-group__title { margin: 0 0 0.6rem !important; font-size: 0.9375rem !important; font-weight: 700; color: var(--ysp-navy-900); }
.ysp-pi-group.is-strong .ysp-pi-group__title { color: #9a3c06; }
.ysp-pi-list { display: grid; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ysp-pi-list li { position: relative; margin: 0 !important; padding-left: 18px; font-size: 0.9375rem; line-height: 1.55; }
.ysp-pi-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ysp-teal-700); }
.ysp-pi-group.is-strong .ysp-pi-list li::before { background: #c2570c; }
.ysp-pi-inter { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ysp-pi-inter li { display: grid; gap: 2px; margin: 0 !important; padding: 12px 16px; border-left: 3px solid var(--ysp-teal-300); border-radius: 0 12px 12px 0; background: var(--ysp-mist); font-size: 0.9375rem; line-height: 1.55; }
.ysp-pi-inter strong { color: var(--ysp-navy-900); }
.ysp-pi-note { display: flex; gap: 10px; align-items: flex-start; max-width: none !important; margin: 0 0 1rem; padding: 12px 14px; border-radius: 12px; background: #eef6f7; color: var(--ysp-navy-700); font-size: 0.875rem; line-height: 1.55; }
.ysp-pi-note .ysp-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--ysp-teal-700); }
.ysp-pi-callout { padding: 16px 18px; border-radius: 14px; background: #eef6f7; box-shadow: inset 3px 0 0 var(--ysp-teal-700); }
.ysp-pi-callout p { margin: 0 0 0.5rem; }
.ysp-pi-callout p:last-child { margin: 0; }
.ysp-pi-storage { display: flex; gap: 10px; margin: 0; font-weight: 500; }
.ysp-pi-sources { display: grid; gap: 8px; margin: 0 !important; padding-left: 1.25rem !important; font-size: 0.875rem; line-height: 1.55; color: var(--ysp-muted); }
.ysp-pi-sources a { color: var(--ysp-teal-700); overflow-wrap: anywhere; }
.ysp-pi-disclaimer { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px dashed var(--ysp-line); border-radius: 16px; color: var(--ysp-muted); font-size: 0.875rem; line-height: 1.6; }
.ysp-pi-disclaimer .ysp-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--ysp-teal-700); }
.ysp-pi-disclaimer p { margin: 0; }

/* Office address and click-to-load map (Contact page) */
.ysp-visit__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .ysp-visit__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.ysp-address { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 1.75rem; font-style: normal; font-size: var(--ysp-text-lg); font-weight: 500; line-height: 1.6; color: var(--ysp-navy-700); }
.ysp-address__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ysp-teal-100); color: var(--ysp-teal-700); }
.ysp-address__icon .ysp-icon { width: 22px; height: 22px; }
.ysp-visit .ysp-actions { margin-top: 0; }
.ysp-map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--ysp-radius-lg); background: var(--ysp-navy-900); box-shadow: var(--ysp-shadow-3); }
@media (min-width: 900px) { .ysp-map { aspect-ratio: 16 / 11; } }
.ysp-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgb(127 211 218 / 0.22), rgb(127 211 218 / 0) 42%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 46px),
    linear-gradient(135deg, #12365a, #0b2239);
}
.ysp-map__placeholder::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(118deg, transparent 47%, rgb(127 211 218 / 0.28) 47.4%, rgb(127 211 218 / 0.28) 48.4%, transparent 48.8%),
    linear-gradient(30deg, transparent 58%, rgb(255 255 255 / 0.12) 58.3%, rgb(255 255 255 / 0.12) 59.1%, transparent 59.4%),
    linear-gradient(-62deg, transparent 38%, rgb(255 255 255 / 0.08) 38.3%, rgb(255 255 255 / 0.08) 38.9%, transparent 39.2%);
  pointer-events: none;
}
.ysp-map__pin { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgb(127 211 218 / 0.18); color: #fff; }
.ysp-map__pin .ysp-icon { width: 30px; height: 30px; }
.ysp-map__load, .ysp-map__note { position: relative; }
.ysp-map__note { margin: 0; font-size: 0.8125rem; color: var(--ysp-on-dark-muted); }
.ysp-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ysp-map__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(127 211 218 / 0.5); animation: ysp-pin 2.8s ease-out infinite; }
}
@keyframes ysp-pin { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.8); } }

/* Social profile links (shown only when configured) */
.ysp-social { margin-top: 1.75rem; }
.ysp-social__heading { margin: 0 0 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ysp-muted); }
.ysp-social__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ysp-social__list li { margin: 0 !important; }
.ysp-social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ysp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ysp-navy-700) !important;
  transition: background-color var(--ysp-dur-fast) var(--ysp-ease), color var(--ysp-dur-fast) var(--ysp-ease), border-color var(--ysp-dur-fast) var(--ysp-ease), transform var(--ysp-dur-fast) var(--ysp-ease);
}
.ysp-social__link .ysp-icon { width: 20px; height: 20px; }
.ysp-social__link:hover, .ysp-social__link:focus-visible { transform: translateY(-2px); border-color: var(--ysp-navy-700); background: var(--ysp-navy-700); color: #fff !important; }
.ysp-social__link:focus-visible { outline: 3px solid var(--ysp-teal-600); outline-offset: 2px; }
.ysp-social--footer .ysp-social__heading { color: var(--ysp-teal-300); }
.ysp-social--footer .ysp-social__link { border-color: rgb(255 255 255 / 0.18); background: rgb(255 255 255 / 0.06); color: #fff !important; }
.ysp-social--footer .ysp-social__link:hover, .ysp-social--footer .ysp-social__link:focus-visible { border-color: #fff; background: #fff; color: var(--ysp-navy-900) !important; }

/* Footer address */
.ysp-footer__address { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0 !important; font-size: 0.875rem; line-height: 1.5; }
.ysp-footer__address .ysp-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--ysp-teal-300); }

/* CEO direct business line */
.ysp-leader__line { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--ysp-on-dark-muted); }
.ysp-leader__line a { color: #fff !important; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; border-bottom: 1px solid rgb(127 211 218 / 0.55); }
.ysp-leader__line a:hover { border-bottom-color: #fff; }
.ysp-leader__line-note { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--ysp-teal-300); }

/* Product information (approved text only), full width below the gallery */
.ysp-product-info { padding-top: 0; }
.ysp-product-info__inner { max-width: 60rem; }
.ysp-product-info__title { margin: 0 0 0.5rem !important; padding-top: 2rem; border-top: 1px solid var(--ysp-line); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem) !important; }
.ysp-prose--product { padding-block: 0.5rem 0; color: var(--ysp-ink); }
.ysp-prose--product h2 { margin: 2.25rem 0 0.75rem !important; font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem) !important; }
.ysp-prose--product h3 { margin: 1.75rem 0 0.5rem !important; font-size: 1.125rem !important; }
.ysp-prose--product p, .ysp-prose--product li { line-height: 1.7; }
.ysp-prose--product li + li { margin-top: 0.35em; }
.ysp-prose--product table { display: block; max-width: 100%; overflow-x: auto; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: 0.9375rem; }
.ysp-prose--product th, .ysp-prose--product td { padding: 10px 14px; border-bottom: 1px solid var(--ysp-line); text-align: left; vertical-align: top; }
.ysp-prose--product thead th { background: var(--ysp-mist); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ysp-muted); white-space: nowrap; }
.ysp-prose--product td:last-child { font-variant-numeric: tabular-nums; }
.ysp-prose--product .ysp-refs, .ysp-prose--product .ysp-refs li { font-size: 0.875rem; color: var(--ysp-muted); }
.ysp-product-info .ysp-disclaimer { max-width: none; }
/* Comfortable line length for running text; tables keep the full width. */
.ysp-prose--product > p, .ysp-prose--product > ul, .ysp-prose--product > ol { max-width: 72ch; }
.ysp-prose--product .ysp-product-sources, .ysp-prose--product .ysp-product-sources li { font-size: 0.875rem; color: var(--ysp-muted); }
.ysp-prose--product .ysp-product-sources a { overflow-wrap: anywhere; }
