@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=swap");

:root {
  --bg: #f3f3f2;
  --card: #ffffff;
  --text: #171c2c;
  --muted: #777e8d;
  --line: #d7dce5;
  --brand: #2f419d;
  --brand-dark: #253381;
  --chip-1: #ffe4aa;
  --chip-2: #ffe0b9;
  --page-pad: 96px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("assets/im.png"),
    var(--bg);
  background-repeat: no-repeat, repeat, no-repeat;
  background-size: auto, auto, auto;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1220px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e8ee;
}

.nav-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 38px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #242939;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
  letter-spacing: -0.006em;
}

.nav-caret {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: var(--brand);
  min-width: 92px;
  height: 36px;
  border-radius: 8px;
  padding: 0 12px;
}

.product {
  padding: 28px 0 44px;
}

.breadcrumbs {
  margin: 8px 0 42px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.006em;
  color: var(--muted);
}

.breadcrumbs span,
.breadcrumbs strong {
  color: #313646;
  font-weight: 400;
}

.crumb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #5b6270;
  
}

.crumb-arrow svg {
  width: 100%;
  height: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 92px;
  align-items: start;
}

.image-stage {
  height: 430px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid #d2d8e3;
  background: #d7dde7;
}

.slide-frame,
.slide-track,
.slide {
  width: 100%;
  height: 100%;
}

.slide-track {
  display: flex;
  transition: transform 300ms ease;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border: 1px solid #cfd1d4;
  border-radius: 50px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 25, 48, 0.18);
  color: #5f6572;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-arrow.prev {
  left: 12px;
}

.nav-arrow.next {
  right: 12px;
}

.nav-arrow svg {
  width: 22px;
  height: 22px;
}

.thumb-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.thumb-row::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 8px;
  border: 1px solid #cfd1d4;
  background: #ffffff;
  cursor: pointer;
}

.thumb.is-active {
  border: 2px solid #7b8fcd;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.cert-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: #596071;
  padding: 5px 10px;
}

.cert-strip img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.details h1 {
  margin: 4px 0 10px;
  font-size:50px;
  line-height: 1.07;
  letter-spacing: -0.8px;
}

.details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #2d3344;
  min-height: 18px;
  display: flex;
  align-items: center;
}

.feature-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2f419d;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.feature-list li::after {
  content: "\2713";
  width: 10px;
  height: 10px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.price-card {
  width: 100%;
  max-width: 560px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 12px 12px 10px;
}

.label {
  margin: 0;
  font-size: 14px;
  color: #6a7077;
}

.price {
  margin: 7px 0 0;
  font-weight: 700;
  font-size: 20px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-size: 11px;
  color: #8a5f10;
  padding: 6px 10px;
}

.chip-warn {
  background: var(--chip-1);
}

.chip-alert {
  background: var(--chip-2);
}

.action-row {
  margin-top: 16px;
  display: flex;
  width: 100%;
  max-width: 560px;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 44px;
  border-radius: 9px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  border: 1px solid #95a3d3;
  color: #2f419d;
  background: #fff;
}

.trusted {
  margin-top: 50px;
}

.trusted-title {
  margin: 0 0 16px;
  text-align: center;
  color: #8a909d;
  font-size: 15px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
}

.logo-item img {
  width: 100%;
  max-width: 128px;
  height: auto;
  opacity: 0.95;
}

.quote-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 36, 0.54);
  backdrop-filter: blur(2px);
}

.quote-modal-card {
  position: relative;
  width: min(470px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(16px) scale(0.985);
  transition: transform 260ms ease;
}

.quote-modal.is-open .quote-modal-card {
  transform: translateY(0) scale(1);
}

.quote-modal-head {
  min-height: 56px;
  padding: 16px 18px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e9f0;
  background: #ffffff;
}

.quote-modal-head h3 {
  margin: 0;
  color: #1f2534;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.quote-close {
  width: 36px;
  height: 36px;
  border: 1px solid #d6dce7;
  border-radius: 8px;
  background: #f6f8fc;
  color: #70798b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.quote-close span {
  font-size: 20px;
  line-height: 1;
}

.quote-close:hover {
  color: #3b4c80;
  border-color: #b8c2d5;
  background: #edf2fb;
}

.quote-close:focus-visible {
  outline: 2px solid #a0b3dc;
  outline-offset: 1px;
}

.quote-form {
  padding: 14px 18px 18px;
  display: grid;
  gap: 9px;
}

.quote-form label {
  color: #4f5a6d;
  font-size: 14px;
  font-weight: 600;
}

.quote-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #ced6e4;
  border-radius: 8px;
  background: #f8fafe;
  color: #202636;
  padding: 0 14px;
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.quote-form input::placeholder {
  color: #9aa3b2;
}

.quote-form input:focus {
  outline: none;
  border-color: #8ea3d4;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 65, 157, 0.14);
}

.quote-submit {
  justify-self: end;
  margin-top: 10px;
  min-width: 170px;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: var(--brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
  box-shadow: 0 8px 18px rgba(47, 65, 157, 0.28);
}

.quote-submit:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 20px rgba(37, 51, 129, 0.32);
}

.quote-submit:active {
  transform: translateY(1px);
}

.quote-submit:focus-visible {
  outline: 2px solid #a0b3dc;
  outline-offset: 2px;
}

.quote-submit:disabled {
  background: #cfd6e4;
  color: #f7f9fc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.quote-submit:disabled:hover {
  background: #cfd6e4;
  box-shadow: none;
}

.quote-success {
  padding: 18px 18px 22px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.quote-success-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #e9f7ef;
  border: 1px solid #b8e2c6;
  color: #1f8f4a;
  font-size: 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quote-success h4 {
  margin: 2px 0 0;
  color: #1f2534;
  font-size: 22px;
  font-weight: 700;
}

.quote-success p {
  margin: 0;
  color: #5a6476;
  font-size: 14px;
  line-height: 1.45;
  max-width: 34ch;
}

.quote-success-card {
  width: min(420px, calc(100% - 24px));
  padding-top: 14px;
}

.quote-success-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.quote-success-btn {
  margin-top: 8px;
  min-width: 120px;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.quote-success-btn:hover {
  background: var(--brand-dark);
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1400;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100% - 32px));
}

.toast {
  border-radius: 10px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(18, 25, 41, 0.28);
  animation: toast-in 180ms ease;
}

.toast--success {
  background: #137b42;
}

.toast--info {
  background: #2b58a8;
}

.toast--error {
  background: #b63535;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  :root {
    --page-pad: 52px;
  }

  .product-grid {
    gap: 58px;
  }

  .details h1 {
    font-size: clamp(30px, 4vw, 46px);
  }

  .price {
    font-size: 26px;
  }

  .quote-modal-head h3 {
    font-size: clamp(20px, 3vw, 24px);
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .image-stage {
    height: 360px;
  }

  .action-row .btn {
    flex: 1 1 220px;
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad: 14px;
  }

  .product {
    padding: 14px 0 28px;
  }

  .product-grid {
    gap: 16px;
  }

  .product-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .details {
    order: 1;
  }

  .gallery {
    order: 2;
  }

  .nav-row {
    min-height: 60px;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .brand img {
    height: 30px;
  }

  .main-nav {
    display: flex;
    gap: 14px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .contact-btn {
    height: 33px;
    min-width: 86px;
    border-radius: 7px;
  }

  .breadcrumbs {
    margin: 4px 0 14px;
    gap: 6px;
    font-size: 10px;
    line-height: 14px;
  }

  .crumb-arrow {
    width: 10px;
    height: 10px;
  }

  .cert-strip {
    gap: 6px;
    margin-bottom: 8px;
  }

  .cert-strip span {
    gap: 4px;
    font-size: 9px;
    padding: 4px 6px;
  }

  .cert-strip img {
    width: 10px;
    height: 10px;
  }

  .details h1 {
    margin: 4px 0 8px;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.4px;
  }

  .feature-list {
    margin-bottom: 10px;
  }

  .feature-list li {
    padding-left: 20px;
    margin-bottom: 6px;
    min-height: 14px;
    font-size: 10px;
  }

  .feature-list li::before {
    width: 8px;
    height: 8px;
  }

  .feature-list li::after {
    width: 7px;
    height: 7px;
    font-size: 7px;
    left: 0.5px;
  }

  .image-stage {
    height: 190px;
    border-radius: 10px;
  }

  .nav-arrow {
    width: 30px;
    height: 30px;
  }

  .nav-arrow svg {
    width: 14px;
    height: 14px;
  }

  .nav-arrow.prev {
    left: 6px;
  }

  .nav-arrow.next {
    right: 6px;
  }

  .thumb-row {
    margin-top: 8px;
    gap: 6px;
    padding-bottom: 2px;
  }

  .thumb {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 6px;
  }

  .price-card {
    border-radius: 8px;
    padding: 8px;
  }

  .label {
    font-size: 10px;
  }

  .price {
    margin-top: 4px;
    font-size: 20px;
  }

  .chip-row {
    gap: 6px;
    margin-top: 8px;
  }

  .chip {
    font-size: 9px;
    padding: 4px 6px;
  }

  .action-row {
    max-width: 100%;
    margin-top: 10px;
    gap: 8px;
  }

  .action-row .btn {
    width: 100%;
    flex: 1 1 100%;
    min-height: 34px;
    border-radius: 8px;
    font-size: 11px;
    padding: 0 12px;
  }

  .trusted-title {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .logo-strip {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    gap: 8px;
  }

  .logo-strip::-webkit-scrollbar {
    display: none;
  }

  .logo-item {
    flex: 0 0 calc((100% - 16px) / 3);
    min-width: calc((100% - 16px) / 3);
    scroll-snap-align: start;
  }

  .quote-modal-card {
    width: calc(100% - 16px);
    border-radius: 10px;
  }

  .quote-modal-head {
    min-height: 44px;
    padding: 12px 12px 10px;
    align-items: center;
  }

  .quote-modal-head h3 {
    font-size: 18px;
    line-height: 1.2;
    white-space: normal;
  }

  .quote-close {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .quote-close span {
    font-size: 18px;
  }

  .quote-form {
    padding: 12px;
    gap: 8px;
  }

  .quote-form label {
    font-size: 13px;
  }

  .quote-form input {
    min-height: 38px;
    border-radius: 7px;
    font-size: 14px;
  }

  .quote-submit {
    justify-self: stretch;
    min-width: 100%;
    min-height: 36px;
    border-radius: 8px;
    font-size: 14px;
  }

  .quote-success {
    padding: 14px 12px 18px;
    gap: 6px;
  }

  .quote-success-card {
    width: calc(100% - 16px);
  }

  .quote-success-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .quote-success h4 {
    font-size: 19px;
  }

  .quote-success p {
    font-size: 13px;
  }

  .quote-success-btn {
    min-width: 100%;
    min-height: 36px;
    font-size: 14px;
  }

  .toast-stack {
    right: 10px;
    bottom: 10px;
    width: min(340px, calc(100% - 20px));
  }
}

.admin-debug[hidden] {
  display: none;
}

.admin-debug {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1500;
  width: min(600px, calc(100% - 24px));
}

.admin-debug-card {
  border: 1px solid #d7dfeb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(20, 31, 54, 0.24);
  overflow: hidden;
}

.admin-debug-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e7f0;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
}

.admin-debug-kicker {
  margin: 0;
  color: #5a6988;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-debug-head h3 {
  margin: 2px 0 0;
  color: #1d2740;
  font-size: 18px;
  line-height: 1.2;
}

.admin-debug-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-debug-shortcut {
  border: 1px solid #cad5e8;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f8fbff;
  color: #495774;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-debug-close {
  width: 32px;
  height: 32px;
  border: 1px solid #d2dbea;
  border-radius: 8px;
  background: #ffffff;
  color: #5f6c87;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.admin-debug-actions {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #edf1f7;
}

.admin-debug-actions button {
  min-height: 34px;
  border: 1px solid #d0d9e7;
  border-radius: 8px;
  padding: 0 12px;
  background: #f6f9ff;
  color: #2c3b5f;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.admin-debug-actions button:hover {
  background: #edf3ff;
}

.admin-debug-section {
  padding: 10px 14px 12px;
}

.admin-debug-section + .admin-debug-section {
  border-top: 1px solid #edf1f7;
}

.admin-debug-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-debug-section-head h4 {
  margin: 0;
  color: #25314e;
  font-size: 14px;
}

.admin-debug-section-head span {
  min-width: 26px;
  height: 24px;
  border-radius: 999px;
  background: #e9effb;
  color: #314369;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
}

.admin-debug-section pre {
  margin: 0;
  max-height: 170px;
  overflow: auto;
  border: 1px solid #e2e9f4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 10px;
  color: #21304e;
  font-size: 12px;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 680px) {
  .admin-debug {
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
  }

  .admin-debug-head h3 {
    font-size: 16px;
  }

  .admin-debug-shortcut {
    display: none;
  }
}
