/* =========================================================
   STAR BIOCARE - CHEMCURE PAGE  (ONE complete CSS file)
   Only this file is needed. Do NOT load chemcure-fix.css.
========================================================= */
:root {
  --cc-navy: #0a2a66;
  --cc-blue: #1565d8;
  --cc-sky: #4aa3ff;
  --cc-ink: #102b54;
  --cc-muted: #5e718b;
  --cc-line: #d7e6f7;
  --cc-pale: #eaf4ff;
  --cc-white: #fff;
  --cc-pad: 24px;
  --hero-h: 600px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body.chemcure-page {
  margin: 0;
  color: var(--cc-ink);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.chemcure-page img { max-width: 100%; }
.chemcure-page a { text-decoration: none; }
.chemcure-page svg { display: block; }

.chemcure-page .page {
  width: 100%;
  background: linear-gradient(180deg, #f5faff 0%, #fff 48%, #f5faff 100%);
}

/* ---------- ICONS (all svg sizes fixed here) ---------- */
.cc-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--cc-blue);
  background: linear-gradient(145deg, #e6f2ff, #d3e8ff);
  box-shadow: inset 0 0 0 1px #c6defa;
  transition: .35s;
}

.cc-icon svg,
.cc-tag svg,
.cc-ring svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc-icon svg { width: 23px; height: 23px; }
.cc-tag svg { width: 24px; height: 24px; flex: none; }
.cc-ring svg { width: 30px; height: 30px; }

.cc-app:hover .cc-icon,
.cc-why-card:hover .cc-icon {
  background: var(--cc-blue);
  color: #fff;
  box-shadow: none;
}

/* ---------- small superscript TM ---------- */
.cc-tm {
  font-size: .38em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
}

.cc-note .cc-tm { font-size: .7em; }

/* =========================================================
   HERO – one unified banner
========================================================= */
.cc-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 0 max(var(--cc-pad), calc((100% - 1560px) / 2));
  background:
    linear-gradient(rgba(21, 101, 216, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 101, 216, .055) 1px, transparent 1px),
    linear-gradient(115deg, #f5faff 0%, #e1efff 55%, #c9e3ff 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
}

.cc-hero-inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: var(--hero-h);
}

.cc-copy {
  align-self: center;
  position: relative;
  z-index: 2;
  padding: 66px 30px 66px 0;
}

.cc-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cc-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cc-copy h1 {
  margin: 0;
  color: var(--cc-navy);
  font: 800 clamp(34px, 4vw, 58px)/1.12 "Manrope", sans-serif;
  letter-spacing: -2px;
}

.cc-copy h1 em {
  color: var(--cc-blue);
  font-style: normal;
}

.cc-lead {
  max-width: 520px;
  margin: 20px 0 28px;
  color: var(--cc-muted);
  font-size: 17px;
}

.cc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid #bdd5f2;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  transition: .3s ease;
}

.cc-btn span { font-size: 19px; line-height: 1; }
.cc-btn:hover { transform: translateY(-4px); }

.cc-btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(110deg, #0b3f9c, #1977e8);
  box-shadow: 0 12px 24px #0b3f9c2b;
}

.cc-btn.primary:hover { box-shadow: 0 16px 28px #0b3f9c40; }

.cc-btn.ghost {
  color: var(--cc-navy);
  background: #ffffffd9;
}

.cc-visual {
  position: relative;
  min-width: 0;
}

.cc-hero-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 4 / 5;   /* whole photo visible, not zoomed */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 28%, #000 100%);
}

.cc-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.cc-duration {
  position: absolute;
  z-index: 2;
  right: calc(var(--hero-h) * .8 - 150px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(270px, 78%);
  padding: 13px 16px;
  border: 1px solid #d6e7fa;
  border-radius: 18px;
  background: #ffffffed;
  box-shadow: 0 12px 30px #164b851c;
}

.cc-ring {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border: 2px solid var(--cc-blue);
  border-radius: 50%;
  color: var(--cc-navy);
}

.cc-duration-copy small {
  display: block;
  color: var(--cc-navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cc-duration-copy b {
  display: block;
  color: var(--cc-blue);
  font: 800 30px/1 "Manrope", sans-serif;
}

.cc-duration-copy i {
  display: block;
  margin-top: 5px;
  color: var(--cc-muted);
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
}

/* ---------- FEATURES STRIP ---------- */
.cc-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px max(var(--cc-pad), calc((100% - 1560px) / 2));
  background: #fff;
  border-block: 1px solid var(--cc-line);
}

.cc-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 22px;
  border-left: 1px solid var(--cc-line);
  color: var(--cc-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.cc-feature:first-child {
  border: 0;
  padding-left: 0;
}

/* ---------- SECTIONS ---------- */
.cc-section {
  width: min(1560px, calc(100% - 2 * var(--cc-pad)));
  margin: auto;
  padding: 76px 0;
}

.cc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.cc-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--cc-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.cc-section-head h2,
.cc-contact h2 {
  margin: 0;
  color: var(--cc-navy);
  font: 800 clamp(28px, 3vw, 40px)/1.15 "Manrope", sans-serif;
  letter-spacing: -1.3px;
}

.cc-section-head h2 span,
.cc-contact h2 span { color: var(--cc-blue); }

.cc-section-head > p {
  max-width: 380px;
  margin: 0 0 5px;
  color: var(--cc-muted);
  font-size: 15px;
}

.cc-steps,
.cc-apps,
.cc-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cc-step,
.cc-app,
.cc-why-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  background: #ffffffed;
  box-shadow: 0 9px 25px #174d8510;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.cc-step:hover,
.cc-app:hover,
.cc-why-card:hover {
  transform: translateY(-7px);
  border-color: #8dbcf0;
  box-shadow: 0 17px 32px #174d8520;
}

/* ---------- STEP IMAGES ---------- */
.cc-media {
  position: relative;
  width: 100%;
  aspect-ratio: 388 / 275;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f9ff;
  container-type: inline-size;
}

.cc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.cc-media-box { background: linear-gradient(160deg, #f4f9ff, #e3f0ff); }
.cc-media-box img { padding: 8px; }

.cc-tube {
  position: absolute;
  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 17%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--cc-blue);
  border: 2px solid var(--cc-blue);
  box-shadow: 0 6px 14px #0a2a6626;
}

.cc-tube svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc-pill {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 3%;
  height: 12.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--cc-navy);
  font-weight: 700;
  font-size: max(9px, 3.2cqw);
  white-space: nowrap;
}

.cc-step p {
  min-height: 44px;
  margin: 0;
  color: var(--cc-navy);
  font-size: 14px;
  font-weight: 700;
}

.cc-divider {
  width: min(1560px, calc(100% - 2 * var(--cc-pad)));
  height: 1px;
  margin: auto;
  background: linear-gradient(90deg, transparent, var(--cc-line), transparent);
}

/* ---------- APPLICATIONS ---------- */
.cc-app { padding: 23px; }
.cc-app .cc-icon { margin-bottom: 17px; }

.cc-app h3 {
  margin: 0 0 9px;
  color: var(--cc-navy);
  font: 800 16px/1.3 "Manrope", sans-serif;
}

.cc-app p {
  margin: 0;
  color: var(--cc-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cc-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 17px 20px;
  border: 1px solid #c9e0fa;
  border-radius: 14px;
  background: #eaf4ff;
  color: var(--cc-navy);
}

.cc-note > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--cc-blue);
  font-weight: 800;
}

.cc-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- WHY CHOOSE ---------- */
.cc-why-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
}

.cc-why-card .cc-icon { width: 44px; height: 44px; }

.cc-why-card b {
  display: block;
  margin: 2px 0 6px;
  color: var(--cc-navy);
  font: 800 14px/1.3 "Manrope", sans-serif;
}

.cc-why-card p {
  margin: 0;
  color: var(--cc-muted);
  font-size: 12px;
}

/* ---------- CONTACT ---------- */
.cc-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  width: min(1560px, calc(100% - 2 * var(--cc-pad)));
  margin: 0 auto 70px;
  padding: 35px 40px;
  border: 1px solid var(--cc-line);
  border-radius: 22px;
  background: linear-gradient(110deg, #eaf4ff, #f8fbff);
}

.cc-contact p {
  margin: 9px 0 0;
  color: var(--cc-muted);
  font-size: 14px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1000px) {
  :root { --hero-h: 480px; }
  .cc-copy { padding: 50px 20px 50px 0; }
  .cc-duration { right: calc(var(--hero-h) * .8 - 120px); }

  .cc-features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .cc-feature:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .cc-steps,
  .cc-apps,
  .cc-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --cc-pad: 16px; }
}

@media (max-width: 700px) {
  .cc-hero { padding: 45px 0 0; }

  .cc-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cc-copy { padding: 0 var(--cc-pad) 10px; }
  .cc-copy h1 { font-size: 39px; }

  .cc-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cc-hero-frame {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: min(100%, 340px);
    height: auto;
    aspect-ratio: 4 / 5;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  }

  .cc-duration {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    z-index: 3;
    width: min(330px, 92%);
    margin: -34px auto 24px;
    padding: 12px 14px;
  }

  .cc-ring { width: 48px; height: 48px; }
  .cc-ring svg { width: 24px; height: 24px; }

  .cc-duration-copy small,
  .cc-duration-copy b { display: inline; }

  .cc-duration-copy b {
    margin: 0 5px;
    font-size: 24px;
    vertical-align: -2px;
  }

  .cc-duration-copy i { margin-top: 4px; }

  .cc-features { padding-top: 20px; padding-bottom: 20px; }
  .cc-feature { padding: 0 10px; font-size: 12px; }
  .cc-icon { width: 42px; height: 42px; }

  .cc-section { padding: 54px 0; }

  .cc-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cc-contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 27px 22px;
    margin-bottom: 45px;
  }
}

@media (max-width: 480px) {
  .cc-features {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .cc-feature,
  .cc-feature:nth-child(3) {
    border: 0;
    padding: 0;
  }

  .cc-steps,
  .cc-apps,
  .cc-why { grid-template-columns: 1fr; }

  .cc-copy h1 { font-size: 34px; }
  .cc-buttons { flex-direction: column; align-items: stretch; }
  .cc-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}