/* Standalone video-intercom model pages. The palette follows the product directory
   while giving each technical record a clear, reusable page structure. */
.model-product-page {
  --model-ink: #14243a;
  --model-navy: #102b49;
  --model-blue: #2864e7;
  --model-sky: #73add5;
  --model-gold: #d6ae63;
  --model-line: #d3e1eb;
  --model-muted: #5d748a;
  background: #f4f8fb;
  color: var(--model-ink);
}

.model-product-page .breadcrumb-shell {
  background: linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
  border-bottom: 1px solid var(--model-line);
}

.model-product-page .breadcrumb {
  min-height: 48px;
  font-size: .76rem;
}

.model-product-page .breadcrumb .current {
  color: var(--model-navy);
  font-weight: 800;
}

.model-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.model-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(70% 120% at 92% 5%, rgba(61, 148, 205, .34), transparent 58%),
    radial-gradient(50% 100% at 4% 100%, rgba(7, 18, 34, .92), transparent 65%),
    linear-gradient(116deg, #071829 0%, #0d3154 57%, #15577f 100%);
  border-bottom: 1px solid rgba(214, 174, 99, .55);
  box-shadow: 0 18px 0 -13px rgba(214, 174, 99, .45), 0 28px 52px rgba(9, 37, 61, .18);
}

.model-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 10, 24, .42), transparent 48%),
    repeating-linear-gradient(90deg, transparent 0, transparent 118px, rgba(185, 225, 241, .045) 119px, transparent 120px),
    repeating-linear-gradient(0deg, transparent 0, transparent 76px, rgba(185, 225, 241, .035) 77px, transparent 78px);
  content: "";
  pointer-events: none;
}

.model-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 560px;
}

.model-hero-copy {
  padding: 5.3rem 0 4.8rem;
}

.model-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #9ed0ed;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.model-eyebrow::before {
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

.model-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.35rem 0 1.25rem;
}

.model-hero-meta span {
  padding: .38rem .62rem;
  border: 1px solid rgba(180, 221, 235, .3);
  border-radius: 4px;
  background: rgba(3, 19, 35, .35);
  color: rgba(235, 248, 252, .86);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.model-hero-meta span:first-child {
  border-color: rgba(214, 174, 99, .52);
  color: #f3d798;
}

.model-hero h1 {
  max-width: 620px;
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(42px, 2.5vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .2);
}

.model-hero h1 span {
  display: block;
  margin-top: .65rem;
  color: #c8e2ef;
  font-size: clamp(1.2rem, 2vw, 1.78rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.model-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(233, 245, 251, .79);
  font-size: 1.02rem;
  line-height: 1.78;
}

.model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.85rem;
}

.model-actions .btn {
  min-height: 46px;
  border-radius: 5px;
  font-weight: 800;
}

.model-actions .btn-primary {
  border-color: #e1bc73;
  background: linear-gradient(145deg, #ebca86, #c89542);
  color: #112942;
  box-shadow: 0 9px 18px rgba(0, 10, 24, .24);
}

.model-actions .btn-primary:hover,
.model-actions .btn-primary:focus-visible {
  border-color: #f0d89d;
  background: linear-gradient(145deg, #f2d797, #d4a657);
  color: #0d2943;
}

.model-actions .btn-ghost {
  border: 1px solid rgba(218, 241, 248, .62);
  background: rgba(255, 255, 255, .06);
  color: #effbff;
}

.model-actions .btn-ghost:hover,
.model-actions .btn-ghost:focus-visible {
  border-color: #b7d8e9;
  background: rgba(115, 165, 204, .18);
  color: #fff;
}

.model-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 2rem;
  border: 1px solid rgba(180, 221, 235, .25);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(22, 69, 100, .86), rgba(5, 28, 49, .88)),
    repeating-linear-gradient(90deg, transparent 0, transparent 94px, rgba(185, 225, 241, .06) 95px, transparent 96px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 22px 38px rgba(0, 7, 18, .26);
}

.model-hero-visual::before {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  border: 1px solid rgba(214, 174, 99, .27);
  content: "";
  pointer-events: none;
}

.model-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 24px 25px rgba(0, 0, 0, .33));
}

.model-hero-visual--sheet {
  padding: 1rem;
  background: #2868b6;
}

.model-hero-visual--sheet img {
  max-height: 390px;
}

.model-visual-note {
  position: absolute;
  right: 1.4rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: .48rem .65rem;
  border: 1px solid rgba(215, 173, 97, .38);
  background: rgba(6, 22, 40, .76);
  color: #d9edf4;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.model-fact-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -34px auto 0;
  border: 1px solid #c6dae8;
  background: #fff;
  box-shadow: 0 17px 31px rgba(29, 61, 87, .13);
}

.model-fact {
  min-height: 106px;
  padding: 1rem 1.2rem;
  border-right: 1px solid #d9e5ed;
}

.model-fact:last-child {
  border-right: 0;
}

.model-fact b {
  display: block;
  margin-bottom: .38rem;
  color: #3c7eaa;
  font-size: .62rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.model-fact span {
  display: block;
  color: #263f58;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.45;
}

.model-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: #fff;
}

.model-section--tint {
  border-top: 1px solid #dce7ee;
  border-bottom: 1px solid #dce7ee;
  background: linear-gradient(180deg, #f5f9fb, #edf4f8);
}

.model-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.model-section-head h2 {
  max-width: 700px;
  margin: .7rem 0 0;
  color: var(--model-ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -.055em;
}

.model-section-head p {
  max-width: 410px;
  margin: 0;
  color: var(--model-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.model-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.model-feature {
  position: relative;
  min-height: 190px;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid #c9dce8;
  border-radius: 6px;
  background: linear-gradient(145deg, #fff, #f3f8fb);
  box-shadow: 0 9px 18px rgba(19, 55, 81, .07);
}

.model-feature::before {
  position: absolute;
  top: 0;
  right: 1.35rem;
  left: 1.35rem;
  height: 3px;
  background: linear-gradient(90deg, var(--model-gold), rgba(96, 214, 230, .35));
  content: "";
}

.model-feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid #c0dce8;
  border-radius: 5px;
  background: linear-gradient(145deg, #fafdff, #e5f3f8);
  box-shadow: 0 3px 0 #d1e5ed;
  color: #1d77bd;
}

.model-feature h3 {
  margin: 0 0 .4rem;
  color: #15334d;
  font-size: 1.02rem;
  line-height: 1.3;
}

.model-feature p {
  margin: 0;
  color: #587187;
  font-size: .88rem;
  line-height: 1.68;
}

.model-spec-layout {
  display: block;
}

.model-spec-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.model-spec-card h3 {
  margin: 0;
  padding: .95rem 1.1rem;
  background: var(--model-navy);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .015em;
}

.model-spec-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d8e1e3;
  box-shadow: 0 14px 28px rgba(28, 61, 75, .07);
  font-size: 1rem;
}

.model-spec-table td {
  padding: .9rem 1rem;
  border: 1px solid #d8e1e3;
  color: #395466;
  line-height: 1.55;
  vertical-align: top;
}

.model-spec-table tr:last-child td {
  border-bottom: 1px solid #d8e1e3;
}

.model-spec-table td:first-child {
  width: 32%;
  background: #eaf2f4;
  color: #29465a;
  font-weight: 700;
}

.model-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.model-fit-card {
  min-height: 170px;
  padding: 1.35rem;
  border: 1px solid #c9dce8;
  background: #fff;
  box-shadow: 0 9px 18px rgba(19, 55, 81, .06);
}

.model-fit-card b {
  display: block;
  margin-bottom: .55rem;
  color: #3c7eaa;
  font-size: .65rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.model-fit-card h3 {
  margin: 0 0 .45rem;
  color: #15334d;
  font-size: 1rem;
}

.model-fit-card p {
  margin: 0;
  color: #587187;
  font-size: .84rem;
  line-height: 1.68;
}

.model-resource-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
}

.model-resource-card {
  min-height: 178px;
  padding: 1.55rem;
  border: 1px solid #c5d9e5;
  background: linear-gradient(145deg, #fff, #f3f8fb);
  box-shadow: 0 9px 18px rgba(15, 49, 75, .06);
}

.model-resource-card h3 {
  margin: 0 0 .5rem;
  color: #15334d;
  font-size: 1.04rem;
}

.model-resource-card p {
  max-width: 700px;
  margin: 0 0 1rem;
  color: #587187;
  font-size: .88rem;
  line-height: 1.7;
}

.model-resource-card .btn {
  min-height: 42px;
  border-radius: 5px;
  font-weight: 800;
}

.model-resource-card--dark {
  border-color: rgba(214, 174, 99, .44);
  background: linear-gradient(145deg, #0b2743, #124b73);
}

.model-resource-card--dark h3 {
  color: #fff;
}

.model-resource-card--dark p {
  color: rgba(226, 242, 249, .76);
}

.model-resource-card--dark .btn {
  border: 1px solid rgba(218, 241, 248, .62);
  background: rgba(255, 255, 255, .08);
  color: #effbff;
}

.model-resource-card--dark .btn:hover,
.model-resource-card--dark .btn:focus-visible {
  border-color: #b7d8e9;
  background: rgba(115, 165, 204, .18);
  color: #fff;
}

.model-cta {
  padding: clamp(3.2rem, 5vw, 4.7rem) 0;
  background: #edf4f8;
}

.model-cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(214, 174, 99, .5);
  background:
    radial-gradient(75% 130% at 92% 0%, rgba(61, 160, 204, .3), transparent 56%),
    linear-gradient(120deg, #061b30, #124871);
  box-shadow: 0 16px 30px rgba(7, 29, 48, .16);
}

.model-cta-box::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 128px, rgba(196, 231, 240, .04) 129px, transparent 130px);
  content: "";
  pointer-events: none;
}

.model-cta-copy,
.model-cta-actions {
  position: relative;
  z-index: 1;
}

.model-cta h2 {
  margin: 0 0 .6rem;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.model-cta p {
  max-width: 690px;
  margin: 0;
  color: rgba(227, 242, 248, .77);
  font-size: .94rem;
  line-height: 1.75;
}

.model-cta-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 210px;
}

.model-cta-actions .btn {
  min-height: 44px;
  border-radius: 5px;
  font-weight: 800;
  text-align: center;
}

.model-cta-actions .btn-primary {
  border-color: #e1bc73;
  background: linear-gradient(145deg, #ebca86, #c89542);
  color: #112942;
}

.model-cta-actions .btn-ghost {
  border: 1px solid rgba(218, 241, 248, .62);
  background: rgba(255, 255, 255, .08);
  color: #effbff;
}

.model-related {
  padding: 3.5rem 0 4.5rem;
  background: #fff;
}

.model-related h2 {
  margin: 0 0 1.25rem;
  color: var(--model-ink);
  font-size: 1.4rem;
  letter-spacing: -.035em;
}

.model-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.model-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 58px;
  padding: .85rem 1rem;
  border: 1px solid #d1e0e9;
  background: #f8fbfd;
  color: #2e6f9d;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.model-related-link:hover,
.model-related-link:focus-visible {
  transform: translateY(-2px);
  border-color: #8db8d4;
  background: #eef7fb;
  color: #245f8b;
}

.model-related-link span:last-child {
  color: #6ca8d7;
  font-size: 1rem;
}

.model-product-page a:focus-visible,
.model-product-page button:focus-visible {
  outline: 3px solid rgba(119, 181, 226, .7);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .model-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .model-hero-copy {
    padding-bottom: 0;
  }

  .model-hero-visual {
    min-height: 340px;
    margin-bottom: 3rem;
  }

  .model-feature-grid,
  .model-fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .model-shell {
    width: min(100% - 32px, 1200px);
  }

  .model-hero-grid {
    min-height: 0;
  }

  .model-hero-copy {
    padding: 4.15rem 0 0;
  }

  .model-hero h1 {
    font-size: clamp(32px, 8vw, 38px) !important;
    line-height: 1.12 !important;
  }

  .model-hero h1 span {
    font-size: 1.22rem;
  }

  .model-hero-copy > p {
    font-size: .96rem;
  }

  .model-hero-visual {
    min-height: 245px;
    margin-bottom: 0;
    padding: 1rem;
  }

  .model-hero-visual img {
    max-height: 260px;
  }

  .model-hero-visual--sheet img {
    max-height: 240px;
  }

  .model-visual-note {
    right: .8rem;
    bottom: .75rem;
    font-size: .56rem;
  }

  .model-fact-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
  }

  .model-fact {
    min-height: 92px;
    padding: .9rem;
  }

  .model-fact:nth-child(2) {
    border-right: 0;
  }

  .model-fact:nth-child(-n+2) {
    border-bottom: 1px solid #d9e5ed;
  }

  .model-section {
    padding: 3.7rem 0;
  }

  .model-section-head {
    display: block;
  }

  .model-section-head p {
    margin-top: .8rem;
  }

  .model-feature-grid,
  .model-spec-layout,
  .model-fit-grid,
  .model-related-grid {
    grid-template-columns: 1fr;
  }

  .model-spec-table td {
    padding: .75rem;
    font-size: .9rem;
  }

  .model-spec-table td:first-child {
    width: 40%;
  }

  .model-cta {
    padding: 3rem 0;
  }

  .model-cta-box {
    display: block;
    padding: 1.8rem 1.25rem 1.5rem;
  }

  .model-cta-actions {
    min-width: 0;
    margin-top: 1.35rem;
  }
}
