.home-information-page .home-topbar {
  padding-right: max(20px, calc((100vw - 1160px) / 2));
}

.home-hero-v2 {
  min-height: 660px;
}

.home-hero-single {
  display: block;
}

.home-hero-single .hero-copy {
  max-width: 930px;
}

.home-hero-single .hero-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 930px;
}

.home-vehicle-band span {
  display: inline-flex;
  align-items: center;
}

.home-promo-window,
.business-control,
.assistant-focus-card {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.home-promo-window {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 48px;
  margin-top: 70px;
  border: 1px solid #e2e5eb;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f3f5f8);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
}

.promo-copy h2,
.commands-intro h2,
.business-copy h2,
.assistant-focus-card h2 {
  text-wrap: balance;
}

.promo-copy p:last-child {
  max-width: 650px;
  font-size: 17px;
}

.promo-display {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #191919, #030303);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
}

.promo-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}

.promo-status i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2de26f;
  box-shadow: 0 0 0 6px rgba(45, 226, 111, 0.12);
}

.promo-display > strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.promo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.promo-metrics span {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.promo-metrics b {
  color: #fff;
  font-size: 14px;
}

.section-title-wide {
  max-width: 900px;
}

.system-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.system-feature-grid article,
.command-grid article {
  min-width: 0;
  padding: 28px;
  border: 1px solid #e3e5ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.07);
}

.system-feature-grid article > span {
  display: inline-flex;
  margin-bottom: 24px;
  color: #e50914;
  font-size: 13px;
  font-weight: 900;
}

.system-feature-grid h3,
.command-grid h3 {
  font-size: 22px;
}

.platform-band {
  scroll-margin-top: 90px;
}

.commands-section {
  scroll-margin-top: 90px;
}

.commands-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.commands-intro > p {
  margin: 0;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.command-grid article {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, #1b1b1b, #090909);
}

.command-grid strong {
  display: inline-flex;
  margin-bottom: 20px;
  color: #ff3340;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.commands-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #e50914;
  color: #4f4f4f;
  background: #f5f6f8;
}

.commands-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #e50914, #a80008);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(229, 9, 20, 0.24);
}

.commands-dialog {
  width: min(960px, calc(100% - 24px));
  max-height: min(88vh, 820px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  color: #171717;
  background: #f7f8fa;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.commands-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(4px);
}

.commands-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  color: #fff;
  background: linear-gradient(145deg, #181818, #050505);
  border-bottom: 3px solid #e50914;
}

.commands-dialog-head h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 4vw, 40px);
}

.commands-dialog-kicker {
  color: #ff3340;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commands-dialog-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.commands-dialog-body {
  max-height: calc(88vh - 184px);
  padding: 26px 28px;
  overflow-y: auto;
}

.device-selector-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.device-selector {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d8dbe2;
  border-radius: 11px;
  color: #171717;
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.device-summary {
  margin: 18px 0;
  padding: 15px 17px;
  border-left: 4px solid #e50914;
  border-radius: 0 10px 10px 0;
  color: #4f4f4f;
  background: #fff;
  line-height: 1.55;
}

.device-command-list {
  display: grid;
  gap: 12px;
}

.device-command-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px;
  border: 1px solid #e0e3e8;
  border-radius: 13px;
  background: #fff;
}

.device-command-copy,
.device-tool-copy {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #e20b20;
  font-weight: 850;
  cursor: pointer;
}

.device-command-copy.is-copied,
.device-tool-copy.is-copied { background: #18844c; }

.device-tools-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e0e4e9;
  border-radius: 14px;
  background: #f7f8fa;
}

.device-tools-panel h3 { margin: 0; color: #151b24; }
.device-tools-panel > p { margin: 0; color: #626c78; line-height: 1.5; }

.device-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.device-tool-field {
  display: grid;
  gap: 6px;
  color: #303945;
  font-size: 13px;
  font-weight: 800;
}

.device-tool-field input,
.device-tool-field select {
  min-height: 42px;
  width: 100%;
  padding: 0 11px;
  border: 1px solid #ccd3dc;
  border-radius: 9px;
  color: #111722;
  background: #fff;
}

.device-tool-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px dashed #cbd2dc;
  border-radius: 10px;
  background: #fff;
}

.device-tool-output strong { display: block; margin-bottom: 5px; }
.device-tool-output code { overflow-wrap: anywhere; color: #b60718; font: 800 13px/1.5 ui-monospace, Consolas, monospace; }
.device-tool-note { color: #8b4c00; font-size: 12px; font-weight: 700; }

.commands-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: 10px;
  padding: 0 17px;
  border: 1px solid #d7dce3;
  border-radius: 9px;
  color: #202630;
  background: #fff;
  font-weight: 850;
}

.commands-standalone {
  min-height: 100vh;
  padding: 28px 16px 60px;
  background: #f2f4f7;
}

.commands-standalone-shell { width: min(1180px, 100%); margin: 0 auto; }
.commands-standalone-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.commands-standalone-head img { width: min(300px, 62vw); max-height: 74px; object-fit: contain; }
.commands-standalone .commands-dialog { position: static; display: block; width: 100%; max-width: none; max-height: none; margin: 0; }
.commands-standalone .commands-dialog::backdrop { display: none; }
.commands-standalone .commands-dialog-close,
.commands-standalone #commandsOpen { display: none; }

.page-visit-counter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.page-visit-counter strong {
  color: #fff;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.commands-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background: linear-gradient(145deg, #f7f8fa, #e9edf2);
}

.commands-login-shell { width: min(470px, 100%); }

.commands-login-card {
  padding: clamp(28px, 6vw, 46px);
  border: 1px solid #e1e5ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22, 29, 38, .14);
}

.commands-login-logo { display: block; margin-bottom: 30px; }
.commands-login-logo img { display: block; width: min(310px, 100%); max-height: 82px; object-fit: contain; object-position: left center; }
.commands-login-card h1 { margin: 6px 0 12px; color: #10151c; font-size: clamp(29px, 7vw, 42px); line-height: 1.02; }
.commands-login-card > p:not(.commands-dialog-kicker) { color: #606a76; line-height: 1.55; }
.commands-login-card form { display: grid; gap: 10px; margin-top: 24px; }
.commands-login-card label { color: #2a313b; font-size: 13px; font-weight: 850; }
.commands-login-card input { min-height: 52px; padding: 0 14px; border: 1px solid #cbd2db; border-radius: 10px; font: inherit; }
.commands-login-card input:focus { border-color: #e20b20; outline: 3px solid rgba(226, 11, 32, .13); }
.commands-login-card button { min-height: 52px; margin-top: 4px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #e50914, #a80008); font: inherit; font-weight: 900; cursor: pointer; }
.commands-login-error { margin: 2px 0 0; color: #b00012 !important; font-size: 13px; font-weight: 800; }
.commands-login-back { display: inline-block; margin-top: 22px; color: #4b5562; font-weight: 750; }
.commands-access-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.commands-page-counter { justify-content: center; width: 100%; margin: 24px auto 0; color: #616b77; }
.commands-page-counter strong { color: #d60818; }

.privacy-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  color: #202630;
  background: #fff;
  box-shadow: 0 22px 70px rgba(13, 20, 29, .24);
}

.privacy-consent[hidden] { display: none; }
.privacy-consent strong { display: block; margin-bottom: 5px; color: #111720; }
.privacy-consent p { margin: 0; color: #5c6672; font-size: 13px; line-height: 1.45; }
.privacy-consent-actions { display: flex; gap: 8px; }
.privacy-consent button { min-height: 42px; padding: 0 14px; border: 1px solid #cfd5dc; border-radius: 9px; color: #303844; background: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.privacy-consent button.accept { border-color: #d60818; color: #fff; background: #d60818; }

@media (max-width: 640px) {
  .privacy-consent { right: 10px; bottom: 10px; grid-template-columns: 1fr; width: calc(100% - 20px); }
  .privacy-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .device-command-card,
  .device-tools-grid,
  .device-tool-output { grid-template-columns: 1fr; }
  .device-command-copy,
  .device-tool-copy { width: 100%; }
  .commands-share-link { width: 100%; margin: 10px 0 0; }
  .commands-standalone { padding: 14px 8px 36px; }
}

.device-command-code {
  display: block;
  width: 100%;
  padding: 12px 13px;
  overflow-wrap: anywhere;
  border-radius: 9px;
  color: #fff;
  background: #111;
  font: 700 13px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.device-command-info strong {
  display: block;
  margin-bottom: 5px;
}

.device-command-info span,
.device-command-info small {
  display: block;
  color: #666;
  line-height: 1.45;
}

.device-command-info small {
  margin-top: 6px;
  color: #a80008;
  font-weight: 700;
}

.commands-dialog-warning {
  margin: 0;
  padding: 15px 28px;
  color: #5e5e5e;
  background: #eceef2;
  font-size: 12px;
  font-weight: 700;
}

/* Módulo Teltonika FMB130 */
.teltonika-guide {
  display: grid;
  gap: 18px;
}

.teltonika-toolbar,
.teltonika-generator,
.teltonika-sms-builder {
  padding: 18px;
  border: 1px solid #e1e5ea;
  border-radius: 14px;
  background: #f8f9fb;
}

.teltonika-model-row,
.teltonika-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.teltonika-model-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.teltonika-field {
  display: grid;
  gap: 6px;
  color: #323a46;
  font-size: 13px;
  font-weight: 800;
}

.teltonika-field input,
.teltonika-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #ccd3dc;
  border-radius: 9px;
  color: #111722;
  background: #fff;
}

.teltonika-space-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  color: #1e2732;
  font-size: 13px;
  font-weight: 800;
}

.teltonika-space-toggle input { width: 18px; height: 18px; accent-color: #e20b20; }

.teltonika-firmware {
  margin: 10px 0 0;
  color: #66707e;
  font-size: 13px;
}

.teltonika-warning {
  padding: 13px 15px;
  border-left: 4px solid #e20b20;
  border-radius: 8px;
  color: #5d2a12;
  background: #fff3df;
  font-size: 13px;
  line-height: 1.5;
}

.teltonika-accordion {
  border: 1px solid #e1e5ea;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.teltonika-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 17px;
  color: #151b24;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.teltonika-accordion > summary::-webkit-details-marker { display: none; }
.teltonika-accordion > summary::after { content: "+"; color: #e20b20; font-size: 22px; }
.teltonika-accordion[open] > summary::after { content: "−"; }

.teltonika-section-body {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.teltonika-command-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e4e8ed;
  border-radius: 11px;
  background: #fbfcfd;
}

.teltonika-command-card strong,
.teltonika-generator h3,
.teltonika-sms-builder h3 { color: #151b24; }

.teltonika-command-card p {
  margin: 5px 0 9px;
  color: #626c78;
  font-size: 13px;
  line-height: 1.45;
}

.teltonika-command-card code,
.teltonika-output code {
  display: block;
  overflow-wrap: anywhere;
  color: #b60718;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.teltonika-copy,
.teltonika-action {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #e20b20;
  font-weight: 850;
  cursor: pointer;
}

.teltonika-copy.is-copied { background: #18844c; }

.teltonika-output {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding: 13px;
  border: 1px dashed #cbd2dc;
  border-radius: 10px;
  background: #fff;
}

.teltonika-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.teltonika-output small { color: #66707e; }

.teltonika-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.teltonika-check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.teltonika-split-list { display: grid; gap: 8px; margin-top: 10px; }

.teltonika-danger > summary { color: #a20b19; background: #fff7f7; }

@media (max-width: 640px) {
  .teltonika-model-row,
  .teltonika-form-grid,
  .teltonika-check-grid,
  .teltonika-command-card {
    grid-template-columns: 1fr;
  }

  .teltonika-copy,
  .teltonika-action { width: 100%; }
}

.business-control {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 50px;
  align-items: center;
  padding: 70px 58px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 0 100%, rgba(229, 9, 20, 0.28), transparent 32%),
    #070707;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  scroll-margin-top: 90px;
}

.business-copy p,
.business-copy li {
  color: rgba(255, 255, 255, 0.74);
}

.business-copy ul {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.8);
}

.business-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.business-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.business-panel-head i {
  color: #42e47b;
  font-style: normal;
  font-size: 13px;
}

.business-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.business-panel-grid span {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.66);
  background: #111;
  font-size: 13px;
}

.business-panel-grid b {
  color: #fff;
  font-size: 18px;
}

.assistant-focus-card {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  padding: 48px;
  margin-bottom: 80px;
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.08), #fff 56%);
}

.assistant-focus-card > div {
  max-width: 800px;
}

.assistant-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 13px 16px;
  border-radius: 999px;
  color: #fff;
  background: #e50914;
  font-weight: 900;
}

.assistant-indicator::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: assistant-status-pulse 1.7s ease-in-out infinite;
}

@keyframes assistant-status-pulse {
  50% { opacity: 0.35; transform: scale(0.75); }
}

@media (max-width: 900px) {
  .home-hero-single .hero-proof,
  .system-feature-grid,
  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-promo-window,
  .business-control {
    grid-template-columns: 1fr;
  }

  .commands-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .home-information-page .home-topbar {
    padding-right: 14px;
  }

  .home-hero-v2 {
    min-height: 620px;
  }

  .home-hero-single .hero-proof,
  .system-feature-grid,
  .command-grid,
  .promo-metrics {
    grid-template-columns: 1fr;
  }

  .home-promo-window,
  .business-control,
  .assistant-focus-card {
    width: min(100% - 20px, 1160px);
    padding: 28px 20px;
    border-radius: 16px;
  }

  .home-promo-window {
    margin-top: 42px;
  }

  .promo-display {
    padding: 20px;
  }

  .business-panel-grid {
    grid-template-columns: 1fr;
  }

  .business-panel-grid span {
    min-height: 100px;
  }

  .assistant-focus-card {
    display: grid;
    margin-bottom: 54px;
  }

  .assistant-indicator {
    justify-self: start;
  }

  .commands-dialog {
    width: calc(100% - 12px);
    max-height: 92vh;
    border-radius: 14px;
  }

  .commands-dialog-head,
  .commands-dialog-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .commands-dialog-body {
    max-height: calc(92vh - 190px);
  }

  .device-command-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .commands-dialog-warning {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Portada limpia inspirada en la nueva dirección visual de INFOSEGU. */
.home-information-page {
  color: #111722;
  background: #fff;
}

.home-information-page .page-shell {
  overflow: clip;
  background: #fff;
}

.home-information-page .home-topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceef1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.home-information-page .home-topbar .brand {
  flex: 0 0 min(340px, 48vw);
}

.home-information-page .home-topbar .brand img {
  width: min(340px, 48vw);
  max-height: 76px;
  object-fit: contain;
}

.home-information-page .nav {
  gap: clamp(14px, 2vw, 28px);
}

.home-information-page .nav a {
  color: #20242c;
  font-weight: 700;
}

.home-information-page .nav a:last-child {
  padding: 10px 15px;
  border: 1px solid #dfe2e7;
  border-radius: 9px;
}

.mobile-login-link {
  display: none;
}

.home-hero-v3 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: stretch;
  width: min(1240px, calc(100% - 32px));
  min-height: 0;
  margin: 30px auto 0;
  overflow: hidden;
  border: 1px solid #eceef1;
  border-radius: 24px;
  color: #111722;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.home-hero-v3-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 78px);
}

.home-hero-v3 .kicker,
.home-information-page .kicker {
  margin: 0 0 16px;
  color: #e20b20;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero-v3 h1 {
  max-width: 680px;
  margin: 0;
  color: #0b101a;
  font-size: clamp(54px, 6.8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-transform: none;
}

.home-hero-v3 h1::after {
  display: none;
}

.home-hero-v3 .hero-subtitle {
  margin: 24px 0 8px;
  color: #252b35;
  font-size: clamp(23px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
}

.home-hero-v3 .lead {
  max-width: 650px;
  margin: 0;
  color: #565e69;
  font-size: 18px;
  line-height: 1.55;
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.hero-feature-grid span {
  position: relative;
  min-height: 54px;
  padding: 16px 16px 14px 54px;
  border: 1px solid #e8eaee;
  border-radius: 12px;
  color: #202630;
  background: #fff;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
}

.hero-feature-grid span::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #fff;
  background: #e20b20;
  font-size: 17px;
  font-weight: 900;
}

.hero-main-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 26px;
  padding: 0 22px;
  border-radius: 10px;
  color: #fff;
  background: #e20b20;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(226, 11, 32, 0.2);
}

.home-hero-v3-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(40px, 5vw, 66px) clamp(28px, 4vw, 54px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, #ef1830 0%, #c70719 100%);
}

.home-hero-v3-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -135px;
  right: -110px;
  border: 42px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.visual-label {
  position: relative;
  z-index: 1;
  max-width: 250px;
  margin: 0 0 22px auto;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.visual-screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 8px solid #12161f;
  border-radius: 22px;
  background: #12161f;
  box-shadow: 0 30px 70px rgba(81, 0, 8, 0.34);
}

.visual-screen img,
.visual-screen iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}

.home-hero-v3-visual > p {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.home-service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  border-bottom: 1px solid #e9ebee;
}

.home-service-strip span {
  padding: 24px 28px;
  color: #5e6672;
  text-align: center;
}

.home-service-strip span + span {
  border-left: 1px solid #e9ebee;
}

.home-service-strip b {
  display: block;
  margin-bottom: 3px;
  color: #151a23;
  font-size: 17px;
}

.camera-promo {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 44px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: 74px auto 0;
  padding: 40px;
  border: 1px solid #e8eaee;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  scroll-margin-top: 100px;
}

.language-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #161b22;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.language-selector select {
  min-width: 62px;
  height: 38px;
  padding: 0 28px 0 10px;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  background: #fff;
  color: #111820;
  font: inherit;
  cursor: pointer;
}

.language-selector select:focus-visible {
  outline: 3px solid rgba(231, 18, 35, .22);
  border-color: #e71223;
}

.master-market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.master-market-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.business-app-offer {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.business-app-offer strong {
  color: #fff;
  font-size: 18px;
}

.business-app-offer p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}

.business-app-offer button {
  justify-self: start;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  color: #b8091b;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 900px) {
  .language-selector span { display: none; }
  .language-selector select { min-width: 56px; height: 34px; }
}

.camera-promo-copy h2 {
  margin: 0;
  color: #111722;
  font-size: clamp(38px, 4.8vw, 64px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.camera-promo-copy > p:last-of-type {
  margin: 20px 0 0;
  color: #59616c;
  font-size: 17px;
  line-height: 1.65;
}

.camera-promo-button {
  min-height: 50px;
  margin-top: 26px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #e20b20;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(226, 11, 32, 0.2);
}

.camera-promo-art {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f6f8;
}

.camera-promo-art img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -13%;
}

.home-information-page .section,
.home-information-page .platform-band {
  padding-top: 92px;
  padding-bottom: 92px;
}

.home-information-page .section-title h2,
.home-information-page .platform-copy h2,
.home-information-page .commands-intro h2,
.home-information-page .business-copy h2,
.home-information-page .assistant-focus-card h2 {
  color: #111722;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.system-feature-grid {
  gap: 14px;
}

.system-feature-grid article {
  padding: 25px;
  border-color: #e9ebef;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.system-feature-grid article > span {
  margin-bottom: 16px;
}

.command-grid article,
.business-control {
  background: #111722;
}

.platform-band .platform-copy h2,
.business-control .business-copy h2 {
  color: #fff;
}

.platform-band .platform-copy p,
.business-control .business-copy p,
.business-control .business-copy li {
  color: rgba(255, 255, 255, 0.78);
}

.platform-band .kicker,
.business-control .kicker {
  color: #ff4354;
}

.assistant-focus-card {
  border-color: #e8eaee;
  background: #f7f8fa;
  box-shadow: none;
}

.home-information-page .ai-chat-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  width: auto;
  height: 68px;
  right: 22px;
  bottom: 22px;
  padding: 8px 17px 8px 9px;
  overflow: visible;
  border: 2px solid #fff;
  border-radius: 18px;
  background: #e20b20;
  box-shadow: 0 16px 36px rgba(145, 5, 20, 0.3);
  animation: none;
  text-align: left;
  text-transform: none;
}

.home-information-page .ai-chat-toggle img {
  width: 48px;
  height: 48px;
  padding: 8px;
  border-radius: 13px;
  object-fit: contain;
  background: #fff;
}

.home-information-page .ai-chat-toggle span {
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
}

.home-information-page .ai-chat-toggle small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.home-information-page .ai-chat-panel {
  right: 22px;
  bottom: 102px;
  width: min(390px, calc(100vw - 24px));
  max-height: min(600px, calc(100vh - 126px));
  border: 1px solid #e3e6eb;
  border-radius: 20px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.home-information-page .ai-chat-panel[hidden] {
  display: none !important;
}

.home-information-page .ai-chat-head {
  padding: 14px;
  border-bottom: 0;
  color: #fff;
  background: #e20b20;
}

.home-information-page .ai-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-information-page .ai-chat-title > img {
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

.home-information-page .ai-chat-messages {
  background: #f7f8fa;
}

.home-information-page .ai-message-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px !important;
  width: 100%;
  margin-top: 12px !important;
}

.home-information-page .ai-message-actions button,
.home-information-page .ai-message-actions a {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px !important;
  border: 1px solid #dfe3e9 !important;
  border-radius: 10px !important;
  color: #202630 !important;
  background: #fff !important;
  box-shadow: none;
  text-align: left;
}

.home-information-page .ai-message-actions button:last-child,
.home-information-page .ai-message-actions a:last-child {
  border-color: #e20b20 !important;
  color: #fff !important;
  background: #e20b20 !important;
}

.home-information-page .ai-chat-form {
  border-top-color: #e7e9ee;
}

@media (max-width: 920px) {
  .home-hero-v3 {
    grid-template-columns: 1fr;
  }

  .home-hero-v3-visual {
    min-height: 520px;
  }

  .home-information-page .home-topbar {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-information-page .home-topbar::-webkit-scrollbar {
    display: none;
  }

  .home-information-page .home-topbar .brand {
    flex: 0 0 210px;
  }

  .home-information-page .home-topbar .brand img {
    width: 210px;
  }

  .home-information-page .nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
  }

  .home-information-page .nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border: 1px solid #e4e6ea;
    border-radius: 9px;
    background: #fff;
    font-size: .82rem;
    touch-action: manipulation;
  }

  .home-information-page .nav a:last-child {
    padding: 0 12px;
  }

  .mobile-login-link {
    display: none;
  }

  .home-information-page .language-selector {
    flex: 0 0 auto;
  }

  .camera-promo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-information-page .home-topbar {
    display: flex;
    gap: 8px;
    padding-left: 14px;
    padding-right: 14px;
    min-height: 72px;
  }

  .home-information-page .home-topbar .brand {
    order: 0;
    flex: 0 0 160px;
    min-width: 160px;
    max-width: 160px;
  }

  .home-information-page .home-topbar .brand img {
    width: 160px;
    max-height: 58px;
  }

  .home-hero-v3 {
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 17px;
  }

  .home-hero-v3-copy {
    position: relative;
    z-index: 2;
    padding: 34px 22px 30px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
  }

  .home-hero-v3 h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.2vw, 48px);
    line-height: .94;
    letter-spacing: -.055em;
  }

  .home-hero-v3 .hero-subtitle {
    margin-top: 20px;
    font-size: 24px;
  }

  .home-hero-v3 .lead {
    font-size: 16px;
  }

  .hero-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .home-hero-v3-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 0;
    padding: 34px 22px 38px;
  }

  .visual-label {
    margin-left: 0;
    text-align: left;
  }

  .home-service-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    padding: 12px 0;
  }

  .home-service-strip span {
    padding: 15px 10px;
  }

  .home-service-strip span + span {
    border-top: 1px solid #e9ebee;
    border-left: 0;
  }

  .camera-promo {
    width: calc(100% - 20px);
    gap: 26px;
    margin-top: 46px;
    padding: 24px 18px 18px;
    border-radius: 17px;
  }

  .camera-promo-copy h2 {
    font-size: 40px;
  }

  .camera-promo-button {
    width: 100%;
  }

  .home-information-page .section,
  .home-information-page .platform-band {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home-information-page .ai-chat-toggle {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: 62px;
    height: 62px;
    padding: 7px;
    border-radius: 17px;
  }

  .home-information-page .ai-chat-toggle img {
    width: 44px;
    height: 44px;
  }

  .home-information-page .ai-chat-toggle span {
    display: none;
  }

  .home-information-page .ai-chat-panel {
    right: 8px;
    left: 8px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100dvh - 96px);
    border-radius: 17px;
  }
}
