* {
  box-sizing: border-box;
}
html {
  font-family: var(--font-primary, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}
body {
  margin: 0;
  font-family: var(--font-primary, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  color: #183129;
  background: #fbfcf8;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}


.brand {
  font-size: 23px;
  font-weight: 700;
  color: #9bdd6e;
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: #d5e5d2;
}
.navlinks {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.navlinks a {
  font-size: 11px;
  text-decoration: none;
  color: #e5eee7;
}
.cta {
  background: #8ee36d !important;
  color: #102a20 !important;
  padding: 10px 18px;
  border-radius: 24px;
}
.hero {
  background: linear-gradient(120deg, #0d2e27, #173f34);
  color: #fff;
  padding: 58px 0 50px;
}
.kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #9fd37b;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 10px 0 18px;
}
.hero p {
  max-width: 760px;
  color: #d8e5dc;
  font-size: 16px;
}
.catalog,
.demo {
  padding: 48px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.card {
  padding: 22px;
  background: #fff;
  border: 1px solid #dce4d8;
  border-radius: 5px;
  text-decoration: none;
}
.card > span {
  font-size: 9px;
  color: #4e8b61;
}
.card h3 {
  font-size: 21px;
  margin: 5px 0;
}
.card p {
  font-size: 12px;
  color: #68766b;
}
.card b {
  font-size: 10px;
  color: #36764e;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tabs button {
  border: 1px solid #dce4d8;
  background: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
}
.tabs button.active {
  background: #173c31;
  color: #fff;
}
.grid {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr;
  gap: 22px;
}
.visual {
  min-height: 430px;
  background: linear-gradient(145deg, #244a3c, #0e2822);
  border-radius: 6px;
  color: #fff;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.visual .symbol {
  display: none;
}
.solution-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.visual {
  position: relative;
}
.visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(5, 24, 18, 0.9),
    rgba(5, 24, 18, 0.05) 70%
  );
}
.visual > *:not(.solution-photo) {
  position: relative;
  z-index: 2;
}
.visual h2 {
  font-size: 34px;
  margin: 0;
}
.visual p {
  color: #dce9df;
}
.panel {
  border: 1px solid #dce4d8;
  background: #fff;
  border-radius: 6px;
  padding: 17px;
}
.devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.device {
  min-height: 80px;
  background: #f5f7f1;
  border: 1px solid #e2e7dd;
  padding: 9px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.device b {
  font-size: 9px;
}
.device span {
  font-size: 10px;
  color: #327149;
}
.explain {
  border-top: 1px solid #dce4d8;
  margin-top: 12px;
  padding-top: 12px;
}
.explain h3 {
  font-size: 20px;
  margin: 0 0 5px;
}
.explain p {
  font-size: 11px;
  color: #68766b;
}
.note {
  margin-top: 16px;
  padding: 12px;
  border-left: 3px solid #83a86b;
  background: #f3f6ef;
  font-size: 10px;
  color: #68766b;
}
footer {
  background: #0a2922;
  color: #dce8df;
  padding: 28px 0;
  margin-top: 45px;
}
@media (max-width: 850px) {
  .navlinks {
    display: none;
  }
  .grid,
  .cards {
    grid-template-columns: 1fr;
  }
}

.solution-photo {
  display: none !important;
}
.solution-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.visual > *:not(.solution-svg) {
  position: relative;
  z-index: 2;
}
.visual:after {
  z-index: 1;
}
.gate-left,
.gate-right,
.window,
.cage-door {
  transform-box: fill-box;
  transform-origin: center;
}
.poolwaves path,
.sound path,
.flow,
.spray path,
.laser path {
  animation: dash 2s linear infinite;
}
.waterfall {
  animation: water 1.2s ease-in-out infinite alternate;
}
.rgb circle,
.warning,
.alert {
  animation: pulse2 1s ease-in-out infinite alternate;
}
.rain {
  animation: rain 1.2s linear infinite;
}
.speaker {
  animation: pulse2 0.8s ease-in-out infinite alternate;
}
@keyframes dash {
  to {
    stroke-dashoffset: -48;
  }
}
@keyframes water {
  to {
    opacity: 0.45;
  }
}
@keyframes pulse2 {
  to {
    opacity: 0.35;
  }
}
@keyframes rain {
  to {
    transform: translateY(35px);
  }
}
.visual[data-state="1"] .gate-left {
  transform: translateX(-95px);
}
.visual[data-state="1"] .gate-right {
  transform: translateX(95px);
}
.visual[data-state="1"] .window {
  transform: rotate(-12deg);
}
.visual[data-state="2"] .cage-door {
  transform: rotateY(65deg);
}
.visual[data-state="0"] .alert,
.visual[data-state="0"] .warning,
.visual[data-state="0"] .laser,
.visual[data-state="0"] .spray,
.visual[data-state="0"] .sound {
  opacity: 0.15;
}
.visual[data-state="2"] .rgb {
  filter: hue-rotate(80deg);
}
.anim,
.window,
.cage-door {
  transition: transform 1.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .solution-svg * {
    animation: none !important;
  }
}

:root {
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: var(--font-primary);
  --sans: var(--font-primary);
  --forest: #173b32;
  --green: #356a48;
  --ink: #213d34;
  --paper: #f8f8f2;
  --line: #dfe5db;
}

.pet59 {
  padding: 35px 0 65px;
  background: #f8f9f5;
}
.pet59 h2 {
  font-family: var(--font-primary);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 8px 0 20px;
}
.pet59-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, 0.9fr);
  gap: 18px;
}
.pet59-art {
  background: #e5ede5;
  border: 1px solid #dce6da;
  border-radius: 7px;
  overflow: hidden;
  align-self: start;
}
.pet59-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.pet59-caption {
  padding: 13px 18px;
  background: #173b32;
  color: white;
}
.pet59-caption strong {
  font-size: 17px;
}
.pet59-caption span {
  display: block;
  font-size: 12px;
  color: #d5e8d7;
}
.pet59-panel {
  background: #fff;
  border: 1px solid #dce6da;
  border-radius: 7px;
  padding: 19px;
}
.pet59-panel h3 {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}
.pet59-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pet59-actions button {
  border: 1px solid #dce6da;
  background: #eff5ee;
  border-radius: 5px;
  min-height: 69px;
  font-size: 15px;
  font-weight: 700;
  color: #274d3a;
  cursor: pointer;
}
.pet59-actions button.active {
  background: #173b32;
  color: #fff;
}
.pet59-actions small {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.pet59-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 17px 0;
}
.pet59-status div {
  background: #f7faf6;
  border: 1px solid #e0e8df;
  border-radius: 5px;
  padding: 11px;
  min-height: 78px;
}
.pet59-status b {
  display: block;
  font-size: 11px;
}
.pet59-status span {
  display: block;
  color: #32734b;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}
.pet59-desc {
  background: #edf5ea;
  padding: 12px;
  border-left: 3px solid #8aad88;
  font-size: 12px;
  color: #4d6d56;
  line-height: 1.6;
  min-height: 88px;
}
.pet59-note {
  font-size: 11px;
  color: #76867b;
  margin-top: 20px;
}
#dog-gate {
  transition: transform 0.75s;
}
#dog-animal {
  transition: transform 1.1s;
}
#dog-scene[data-mode="fire"] #dog-gate,
#dog-scene[data-mode="burglar"] #dog-gate {
  transform: perspective(200px) rotateY(-70deg);
}
#dog-scene[data-mode="fire"] #dog-animal {
  transform: translate(360px, -8px);
}
#dog-scene[data-mode="burglar"] #dog-animal {
  transform: translate(360px, -6px);
}
#dog-scene[data-mode="fire"] #dog-smoke,
#dog-scene[data-mode="burglar"] #dog-burglar {
  opacity: 1;
}
#dog-scene[data-mode="fire"] #dog-tail {
  animation: dogwag 0.35s ease-in-out infinite alternate;
}
#dog-scene[data-mode="burglar"] #dog-burglar {
  animation: dogbark 0.7s ease-in-out infinite alternate;
}
@keyframes dogwag {
  to {
    transform: rotate(-15deg);
    transform-origin: 177px 397px;
  }
}
@keyframes dogbark {
  to {
    opacity: 0.6;
  }
}
@media (max-width: 860px) {
  .pet59-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  #dog-tail,
  #dog-burglar {
    animation: none !important;
  }
}
