/* UI Kit styles — laser-site. Базируется на colors_and_type.css. */

/* ---------- HEADER ---------- */
.uk-header {
  background: var(--sm-navy);
  color: #fff;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--sm-shadow-header);
  border-bottom: 1px solid var(--sm-navy-light);
}
.uk-header__inner {
  max-width: var(--sm-container);
  margin: 0 auto;
  display: flex; align-items: center;
  gap: 24px; height: 60px;
}
.uk-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.uk-logo__mark {
  width: 32px; height: 32px;
  background: var(--sm-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sm-font-display);
  font-weight: 700; font-size: 13px; letter-spacing: 0.5px;
  color: #fff; border-radius: var(--sm-radius-xs);
}
.uk-logo__text {
  font-family: var(--sm-font-display);
  font-size: 15px; font-weight: 700; line-height: 1.2;
}
.uk-logo__sub { font-size: 10px; font-weight: 400; opacity: 0.7; }
.uk-nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.uk-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none; font-size: 13px;
  transition: color var(--sm-ease);
}
.uk-nav a:hover { color: #fff; }
.uk-phone { font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; }
.uk-header__tg {
  background: var(--sm-accent); color: #fff;
  padding: 6px 14px; border-radius: var(--sm-radius);
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: background var(--sm-ease);
}
.uk-header__tg:hover { background: var(--sm-accent-light); }

/* ---------- BREADCRUMB ---------- */
.uk-breadcrumb {
  background: var(--sm-off-white);
  border-bottom: 1px solid var(--sm-grey-light);
  padding: 8px 24px;
  font-size: 12px; color: var(--sm-grey-text);
}
.uk-breadcrumb__inner {
  max-width: var(--sm-container);
  margin: 0 auto;
  display: flex; gap: 6px; align-items: center;
}
.uk-breadcrumb a { color: var(--sm-navy); text-decoration: none; }
.uk-breadcrumb a:hover { text-decoration: underline; }
.uk-breadcrumb__sep { color: var(--sm-grey-mid); }

/* ---------- BUTTONS ---------- */
.uk-btn {
  font-family: var(--sm-font-body);
  font-size: 15px; font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--sm-radius);
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  transition: background var(--sm-ease), transform 0.1s, border-color var(--sm-ease), color var(--sm-ease);
}
.uk-btn--primary {
  background: var(--sm-accent); color: #fff;
}
.uk-btn--primary:hover { background: var(--sm-accent-light); transform: translateY(-1px); }
.uk-btn--primary:active { transform: translateY(0); }
.uk-btn--secondary {
  background: transparent; color: var(--sm-navy);
  padding: 12px 24px; border: 2px solid var(--sm-navy);
}
.uk-btn--secondary:hover { background: var(--sm-navy); color: #fff; }
.uk-btn--lg { font-size: 16px; padding: 14px 28px; }

/* ---------- SECTION ---------- */
.uk-section { padding: 72px 24px; }
.uk-section--alt { background: var(--sm-off-white); }
.uk-section__inner { max-width: var(--sm-container); margin: 0 auto; }
.uk-section__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--sm-navy);
  margin-bottom: 10px;
}
.uk-section__divider {
  width: 40px; height: 3px; background: var(--sm-accent);
  margin-bottom: 16px; border-radius: 2px;
}
.uk-section__title {
  font-family: var(--sm-font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700; color: var(--sm-navy);
  line-height: 1.2; margin-bottom: 14px;
}
.uk-section__sub {
  font-size: 16px; color: var(--sm-grey-text);
  max-width: 580px; margin-bottom: 48px; line-height: 1.6;
}

/* ---------- HERO ---------- */
.uk-hero {
  background: #fff;
  padding: 72px 24px 64px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--sm-grey-light);
}
.uk-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(59,84,115,0.06) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(59,84,115,0.06) 40px);
  pointer-events: none;
}
.uk-hero__crosshair {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.uk-hero__cursor {
  position: absolute;
  left: calc(50% - 60px); top: calc(38% - 60px);
  width: 120px; height: 120px;
  pointer-events: none; z-index: 3;
}
.uk-hero__ucs {
  position: absolute; left: 24px; bottom: 24px;
  pointer-events: none; z-index: 2; opacity: 0.8;
}
.uk-hero__inner {
  max-width: var(--sm-container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative;
}
.uk-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sm-off-white);
  border: 1px solid var(--sm-grey-light);
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; color: var(--sm-grey-text);
  margin-bottom: 20px; letter-spacing: 0.4px;
}
.uk-hero__badge-dot {
  width: 6px; height: 6px; background: var(--sm-accent); border-radius: 50%;
  animation: uk-pulse 2s infinite;
}
@keyframes uk-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.uk-hero__title {
  font-family: var(--sm-font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 18px; letter-spacing: -0.3px;
  color: var(--sm-navy);
}
.uk-hero__title em { font-style: normal; color: var(--sm-accent); }
.uk-hero__sub {
  font-size: 17px; line-height: 1.6;
  color: var(--sm-grey-text);
  margin-bottom: 32px; max-width: 520px;
}
.uk-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.uk-hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--sm-grey-light);
  border: 1px solid var(--sm-grey-light);
  border-radius: var(--sm-radius);
  overflow: hidden; margin-top: 36px;
}
.uk-hero__stat {
  background: var(--sm-off-white);
  padding: 16px 18px; text-align: center;
}
.uk-hero__stat-val {
  font-family: var(--sm-font-display);
  font-size: 28px; font-weight: 700;
  color: var(--sm-accent); line-height: 1;
}
.uk-hero__stat-label {
  font-size: 11px; color: var(--sm-grey-text);
  margin-top: 4px; text-wrap: balance;
}
.uk-hero__visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.uk-cad-frame {
  width: 100%; max-width: 440px;
  aspect-ratio: 4/3;
  background: var(--sm-cad-bg);
  border: 1px solid var(--sm-navy);
  border-radius: 6px; padding: 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--sm-shadow-md);
}
.uk-cad-frame::before {
  content: 'DXF / STEP';
  position: absolute; top: 10px; right: 12px;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-family: var(--sm-font-mono);
  letter-spacing: 1px;
}

/* ---------- DELIVERABLES ---------- */
.uk-deliv {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.uk-deliv-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.125);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: box-shadow var(--sm-ease), transform var(--sm-ease);
}
.uk-deliv-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--sm-navy);
}
.uk-deliv-card:hover {
  box-shadow: var(--sm-shadow-md);
  transform: translateY(-3px);
}
.uk-deliv-card__icon { width: 52px; height: 52px; margin-bottom: 20px; }
.uk-deliv-card__tag {
  display: inline-block;
  background: var(--sm-navy); color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px; border-radius: 2px;
  margin-bottom: 12px;
  font-family: var(--sm-font-mono);
}
.uk-deliv-card__title {
  font-family: var(--sm-font-display);
  font-size: 20px; font-weight: 700;
  color: var(--sm-navy);
  margin-bottom: 10px;
}
.uk-deliv-card__desc {
  font-size: 14px; color: var(--sm-grey-text);
  line-height: 1.6;
}
.uk-deliv-card__features { list-style: none; margin-top: 16px; padding: 0; }
.uk-deliv-card__features li {
  font-size: 13px; color: var(--sm-grey-text);
  padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.uk-deliv-card__features li::before {
  content: ''; display: block;
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpolyline points='2,7 5.5,10.5 12,3.5' fill='none' stroke='%233b5473' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- PRICING ---------- */
.uk-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 48px; }
.uk-pricing__table {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.125);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--sm-shadow);
}
.uk-pricing__head {
  background: var(--sm-navy); color: #fff;
  padding: 16px 24px;
  font-family: var(--sm-font-display);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.3px;
}
.uk-pricing__row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--sm-grey-light);
  align-items: center;
  transition: background 0.15s;
}
.uk-pricing__row:last-child { border-bottom: none; }
.uk-pricing__row:hover { background: var(--sm-off-white); }
.uk-pricing__label { font-size: 14px; color: var(--sm-text); line-height: 1.4; }
.uk-pricing__label small { display: block; font-size: 12px; color: var(--sm-grey-text); margin-top: 2px; }
.uk-pricing__price {
  font-family: var(--sm-font-display);
  font-size: 18px; font-weight: 700;
  white-space: nowrap; text-align: right;
}
.uk-pricing__row.base    .uk-pricing__price { color: var(--sm-navy); }
.uk-pricing__row.addon   .uk-pricing__price { color: var(--sm-navy-light); }
.uk-pricing__row.urgent  .uk-pricing__price { color: var(--sm-error); }
.uk-pricing__row.revision .uk-pricing__price { color: var(--sm-grey-text); }

.uk-calc {
  background: var(--sm-navy); color: #fff;
  border-radius: 6px; padding: 28px;
  box-shadow: var(--sm-shadow-md);
  position: sticky; top: 80px;
}
.uk-calc__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--sm-accent-light); margin-bottom: 12px;
}
.uk-calc__title {
  font-family: var(--sm-font-display);
  font-size: 20px; font-weight: 700;
  margin-bottom: 20px; line-height: 1.3;
}
.uk-calc__line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 14px; gap: 12px;
}
.uk-calc__line:last-of-type { border-bottom: none; }
.uk-calc__line-label { color: rgba(255,255,255,0.75); flex: 1; }
.uk-calc__line-price {
  font-family: var(--sm-font-display);
  font-size: 16px; font-weight: 700;
  white-space: nowrap;
}
.uk-calc__total {
  margin-top: 16px; padding-top: 16px;
  border-top: 2px solid var(--sm-accent);
  display: flex; justify-content: space-between; align-items: center;
}
.uk-calc__total-label { font-size: 15px; font-weight: 700; }
.uk-calc__total-price {
  font-family: var(--sm-font-display);
  font-size: 30px; font-weight: 700;
  color: var(--sm-accent-light);
}

/* ---------- FAQ ---------- */
.uk-faq { max-width: 820px; margin: 48px auto 0; }
.uk-faq__item {
  border: 1px solid rgba(0,0,0,0.125);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--sm-ease);
}
.uk-faq__item.open { box-shadow: var(--sm-shadow); }
.uk-faq__q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  background: #fff; gap: 16px;
  border: none; width: 100%; text-align: left;
  font-family: var(--sm-font-body);
}
.uk-faq__q:hover { background: var(--sm-off-white); }
.uk-faq__item.open .uk-faq__q { background: var(--sm-navy); color: #fff; }
.uk-faq__qtext {
  font-size: 15px; font-weight: 700;
  color: var(--sm-navy); line-height: 1.4;
}
.uk-faq__item.open .uk-faq__qtext { color: #fff; }
.uk-faq__chev { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; }
.uk-faq__item.open .uk-faq__chev { transform: rotate(180deg); }
.uk-faq__chev path { stroke: var(--sm-navy); }
.uk-faq__item.open .uk-faq__chev path { stroke: #fff; }
.uk-faq__a {
  display: none;
  padding: 18px 24px 20px;
  font-size: 14px; color: var(--sm-text); line-height: 1.7;
  background: #fafbfc;
  border-top: 1px solid var(--sm-grey-light);
}
.uk-faq__item.open .uk-faq__a { display: block; }

/* ---------- FOOTER ---------- */
.uk-footer {
  background: var(--sm-navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 32px 24px;
  font-size: 13px;
}
.uk-footer__inner {
  max-width: var(--sm-container);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.uk-footer__copy { color: rgba(255,255,255,0.35); }
.uk-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.uk-footer__links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--sm-ease);
}
.uk-footer__links a:hover { color: rgba(255,255,255,0.8); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .uk-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .uk-hero__visual { display: none; }
  .uk-deliv { grid-template-columns: 1fr; }
  .uk-pricing { grid-template-columns: 1fr; }
  .uk-calc { position: static; }
  .uk-nav { display: none; }
}
@media (max-width: 600px) {
  .uk-section { padding: 48px 16px; }
  .uk-hero { padding: 48px 16px; }
}
