/* Hugent — /products/huclinic */

.page-hu section + section {
  margin-top: 84px;
}

.page-hu section[id] {
  scroll-margin-top: 74px;
}

/* ---------- Hero ---------- */

.hu-hero {
  padding: 92px 0 0;
  text-align: center;
}

.hu-hero__eyebrow {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hu-hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0 auto 10px;
}

.hu-hero__tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 auto 16px;
}

.hu-hero__copy {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 28px;
}

/* ---------- Hero stage ---------- */

.stage {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  margin-top: 40px;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #23201c;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 0.45), rgba(20, 20, 20, 0.05) 55%);
}

.stage__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage__label {
  padding: 2px 4px 0;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.stage__panel {
  text-align: left;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(255, 255, 255, 0.8) 48%,
    rgba(255, 255, 255, 0.92) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 14px;
  padding: 13px 16px 15px;
}

.stage__panel span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2c8576;
  margin-bottom: 5px;
}

.stage__panel p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.stage__token {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.55) 0%,
    rgba(20, 20, 20, 0.74) 48%,
    rgba(20, 20, 20, 0.9) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
}

.stage__token span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.stage__token strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ---------- Role bar ---------- */

.role-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 6px;
}

.role-bar a {
  text-align: center;
  font-size: 12.5px;
  color: #4a4843;
  padding: 12px 8px;
  border-radius: 11px;
  transition: background 0.18s ease, color 0.18s ease;
}

.role-bar a:hover {
  background: var(--cream-soft);
  color: var(--ink);
}

/* ---------- Feature blocks ---------- */

.feature {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.feature--dark {
  background: var(--ink-card);
  color: #fff;
}

.feature--light {
  background: var(--cream-card);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature h2 {
  font-size: clamp(23px, 2.7vw, 31px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 6px;
  max-width: 22ch;
}

.feature__tagline {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 10px;
}

.feature--dark .feature__tagline {
  color: var(--muted-on-dark);
}

.feature__copy {
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 24px;
  color: var(--muted);
}

.feature--dark .feature__copy {
  color: var(--muted-on-dark);
}

.feature__note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.feature--dark .feature__note {
  color: var(--muted-on-dark);
}

/* Screen mock with overlay card */

.mock {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 330px;
  background-color: #d8d4ca;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.18);
}

.mock__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock__card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.2);
}

.mock__card--dark {
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mock__card--light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mock__tag {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--teal);
}

.mock__card--dark .mock__tag {
  color: rgba(255, 255, 255, 0.7);
}

.mock__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 5px;
}

.mock__meta {
  font-size: 11.5px;
  color: var(--muted);
}

.mock__card--dark .mock__meta {
  color: var(--muted-on-dark);
}

/* ---------- Accordion ---------- */

.ac {
  display: grid;
}

.ac__item {
  border-bottom: 1px solid var(--line);
}

.feature--dark .ac__item {
  border-bottom-color: var(--line-on-dark);
}

.ac__item[open] {
  background: var(--paper);
  border-radius: 12px;
  border-bottom-color: transparent;
  padding: 2px 12px 4px;
  margin-bottom: 2px;
}

.feature--dark .ac__item[open] {
  background: rgba(255, 255, 255, 0.06);
}

.ac__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.ac__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.45;
}

.ac__icon::before,
.ac__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ac__icon::before {
  width: 9px;
  height: 1px;
}

.ac__icon::after {
  width: 1px;
  height: 9px;
  transition: opacity 0.18s ease;
}

.ac__item[open] .ac__icon::after {
  opacity: 0;
}

.ac__item p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  padding-bottom: 14px;
  max-width: 46ch;
}

.feature--dark .ac__item p {
  color: var(--muted-on-dark);
}

/* ---------- Closing CTA ---------- */

.hu-cta {
  background: var(--ink-card);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hu-cta h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 24ch;
}

.hu-cta__note {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  max-width: 44ch;
}

.hu-cta__note a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .feature__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stage {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .page-hu section + section {
    margin-top: 56px;
  }
  .hu-hero {
    padding-top: 58px;
  }
  .role-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature {
    padding: 22px;
  }
  .hu-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }
  .stage {
    min-height: 320px;
  }
}
