/* ADRAS industry pages (konditerskim, otelyam, klinikam). Loaded after styles.css, uses its tokens. */

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.top__logo { display: flex; align-items: center; min-height: 48px; }
.top__logo img { width: clamp(96px, 9vw, 124px); height: auto; }

/* ---------- 1. Hero ---------- */
.ihero { padding-block: clamp(3rem, 12vh, 8rem) clamp(4rem, 12vh, 7rem); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 3vh, 28px); }
.ihero__kicker { color: var(--ash); font-size: 1rem; }
.ih1 { font: 300 clamp(2rem, 5.6vw, 4.8rem)/1.06 var(--f-head); letter-spacing: -.025em; max-width: 17ch; text-wrap: balance; }
.ih1 em { font-style: normal; color: var(--madder); } /* large text on Ink, as on the home page */
.ihero__sub { max-width: 30em; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(242, 234, 223, .9); }
.ihero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }

/* ---------- 2. Live demo in a phone frame (frame style from scenes.css) ---------- */
.demo { padding-block: var(--section); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(28px, 6vw, 96px); }
.demo__copy { display: flex; flex-direction: column; gap: 16px; max-width: 30em; }
.demo__copy p { color: rgba(242, 234, 223, .86); }
.dphone {
  position: relative; width: min(100%, 380px); padding: 10px;
  background: var(--indigo); border-radius: 46px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(242, 234, 223, .08);
}
.dphone::before { /* speaker slot */
  content: ""; position: absolute; z-index: 1; top: 10px; left: 50%; width: 30%; height: 18px;
  transform: translateX(-50%); background: var(--indigo); border-radius: 0 0 12px 12px;
}
.dscreen {
  border-radius: 36px; background: var(--silk); color: var(--ink);
  padding: 40px 14px 18px; display: flex; flex-direction: column; gap: 12px; font-size: .95rem; line-height: 1.35;
}
.dscreen--dark { background: #151a2e; color: var(--silk); }
.d-t { font: 400 1.3rem/1.15 var(--f-head); letter-spacing: -.01em; }
.d-l { font-size: .875rem; color: color-mix(in srgb, currentColor 78%, transparent); margin-top: 4px; }
.d-note { font-size: .8125rem; color: color-mix(in srgb, currentColor 72%, transparent); text-align: center; }
.d-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip, .seg button, .step-btn, .cal2 button, .prob, .rm {
  min-height: 44px; font: 500 .9375rem/1.1 var(--f-text); color: inherit; cursor: pointer;
  background: transparent; border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip { padding: 0 16px; border-radius: 22px; }
.chip[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--silk); border-color: var(--ink); }
.dscreen--dark .chip[aria-pressed="true"], .dscreen--dark .seg button[aria-pressed="true"] { background: var(--silk); color: var(--ink); border-color: var(--silk); }
.chip:hover, .prob:hover { border-color: currentColor; }

.d-field {
  width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: rgba(255, 255, 255, .6); color: inherit; font: 400 1rem var(--f-text);
}
.d-range { width: 100%; height: 44px; margin: -6px 0; background: transparent; accent-color: var(--madder); cursor: pointer; }

.seg { display: grid; grid-template-columns: 1fr 1fr; }
.seg button:first-child { border-radius: 22px 0 0 22px; }
.seg button:last-child { border-radius: 0 22px 22px 0; border-left: 0; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper > div { display: flex; align-items: center; gap: 10px; }
.stepper output { min-width: 3ch; text-align: center; font: 400 1.15rem var(--f-head); }
.step-btn { width: 44px; border-radius: 50%; font-size: 1.25rem; }
.step-btn:disabled { opacity: .35; cursor: default; }

.check { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; }
.check span { display: flex; align-items: center; gap: 10px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--silk); cursor: pointer; }

.d-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.d-total b { font: 400 1.5rem var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.d-btn {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 26px;
  background: var(--madder); color: #fff; /* only pure white on Madder */
  font: 500 1rem/1.2 var(--f-text); text-decoration: none; text-align: center; padding: 0 18px;
  transition: background-color .2s var(--ease);
}
.d-btn:hover { background: var(--madder-dark); }

/* hotel calendar */
.cal2 { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .8125rem; }
.cal2 > span { padding: 4px 0; color: color-mix(in srgb, currentColor 70%, transparent); }
.cal2 button { min-width: 0; border: 0; padding: 2px; border-radius: 10px; background-clip: content-box; font-weight: 400; }
.cal2 button:hover:not(:disabled) { background-color: rgba(242, 234, 223, .12); }
.cal2 button:disabled { color: rgba(242, 234, 223, .45); text-decoration: line-through; cursor: not-allowed; background-color: rgba(242, 234, 223, .07); }
.cal2 button[aria-pressed="true"] { background-color: var(--madder); color: #fff; }
.legend2 { display: flex; gap: 16px; font-size: .8125rem; color: color-mix(in srgb, currentColor 78%, transparent); }
.legend2 span { display: flex; align-items: center; gap: 6px; }
.legend2 i { width: 12px; height: 12px; border-radius: 4px; background: rgba(242, 234, 223, .2); }
.legend2 i.pick { background: var(--madder); }

/* dental arch: teeth placed by industry.js */
.jaw { position: relative; height: 330px; }
.jaw__hint { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: 52%; text-align: center; font-size: .8125rem; color: color-mix(in srgb, currentColor 70%, transparent); }
.tooth {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border-radius: 50%;
  background: #fff; border: 1.5px solid rgba(13, 15, 20, .45); color: var(--ink);
  font: 500 .8125rem/1 var(--f-text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.tooth:hover { border-color: var(--ink); }
.tooth.has-plan { background: var(--madder); border-color: var(--madder); color: #fff; }
.tooth[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.probs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prob { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 6px 12px; border-radius: 14px; text-align: left; }
.prob small { font-weight: 400; font-size: .8125rem; opacity: .8; }
.prob:disabled { opacity: .4; cursor: default; }
.plan-list { display: flex; flex-direction: column; }
.plan-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(13, 15, 20, .12); padding-left: 2px; }
.plan-list li > span { flex: 1; }
.plan-list b { white-space: nowrap; font-weight: 500; }
.rm { width: 44px; border: 0; border-radius: 50%; font-size: 1.2rem; }
.rm:hover { background: rgba(13, 15, 20, .08); }
.plan-empty { font-size: .875rem; color: color-mix(in srgb, currentColor 70%, transparent); }

/* ---------- 3. What you get ---------- */
.gets { padding-block: var(--section); }
.gets__list { margin-top: clamp(2rem, 5vh, 3.5rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.gets__list li { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--line); }
.gets__list li:first-child { border-top-color: var(--madder); }
.gets__list b { font: 400 1.15rem/1.25 var(--f-head); }
.gets__list span { color: rgba(242, 234, 223, .8); }

/* ---------- 4. Prices: which plan fits ---------- */
.fit { margin-top: 1.75rem; max-width: 46em; font-size: 1.125rem; }
.fit b { font-weight: 500; }

/* ---------- 5. Final CTA ---------- */
.ifinal { padding-block: 0 var(--section); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .dphone { justify-self: center; }
  .gets__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gets__list { grid-template-columns: 1fr; gap: 22px; }
  .ihero__cta .btn, .ifinal .btn { width: 100%; }
  .dphone { padding: 8px; border-radius: 40px; }
  .dscreen { border-radius: 32px; padding-inline: 12px; }
}
