:root {
  --cp-green: #1db954;
  --cp-green-dark: #17a349;
  --cp-green-light: #e8fbf0;
  --cp-bg-soft: #f0fff4;
  --cp-text: #0d1a12;
  --cp-muted: #6b7280;
  --cp-border: #e5e7eb;
  --cp-radius: 16px;
  --cp-radius-sm: 10px;
  --cp-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  --cp-ticker-height: 34px;
}

body.cpanda-front-page {
  color: var(--cp-text);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cpanda-front-page #site-header,
.cpanda-front-page #site-footer {
  display: none;
}

.cpanda-front-page .page-header {
  display: none;
}

.cpanda-front-page .site-main {
  margin: 0;
  padding: 0;
}

.cpanda-front-page :is(#top, #what-we-deliver, #services, #how, #cases, #reviews, #contact, #footer) {
  scroll-margin-top: 120px;
}

.cpanda-front-page .cpanda-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: calc(68px + var(--cp-ticker-height));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 26, 18, 0.06);
  box-shadow: 0 6px 24px rgba(13, 26, 18, 0.06);
  backdrop-filter: blur(14px);
}

.cpanda-front-page .cpanda-site-ticker {
  overflow: hidden;
  height: var(--cp-ticker-height);
  background: var(--cp-green);
}

.cpanda-front-page .cpanda-site-ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: cpanda-site-ticker 35s linear infinite;
  will-change: transform;
}

.cpanda-front-page .cpanda-site-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: var(--cp-ticker-height);
  padding: 0 34px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.cpanda-front-page .cpanda-site-ticker-item span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.cpanda-front-page .cpanda-site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(100% - 48px, 1280px);
  min-height: 68px;
  margin: 0 auto;
}

@keyframes cpanda-site-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cpanda-front-page .cpanda-site-logo {
  display: inline-flex;
  align-items: center;
  color: var(--cp-text);
  text-decoration: none;
}

.cpanda-front-page .cpanda-site-logo-img {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}

.cpanda-front-page .cpanda-site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.cpanda-front-page .cpanda-site-nav-list {
  display: contents;
  margin: 0;
  padding: 0;
}

.cpanda-front-page .cpanda-site-nav .menu-item {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cpanda-front-page .cpanda-site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  color: var(--cp-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.cpanda-front-page .cpanda-site-nav a span {
  margin-top: -2px;
  font-size: 14px;
  line-height: 1;
}

.cpanda-front-page .cpanda-site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 9px;
  background: var(--cp-green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(29, 185, 84, 0.18);
}

.cpanda-front-page .cpanda-site-menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--cp-border);
  border-radius: 50%;
  background: #fff;
  place-items: center;
  cursor: pointer;
}

.cpanda-front-page .cpanda-site-menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--cp-text);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cpanda-front-page .cpanda-site-menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 5px));
}

.cpanda-front-page .cpanda-site-menu-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.cpanda-front-page .cpanda-site-menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 5px));
}

.cpanda-front-page .cpanda-site-header.is-open .cpanda-site-menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cpanda-front-page .cpanda-site-header.is-open .cpanda-site-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.cpanda-front-page .cpanda-site-header.is-open .cpanda-site-menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cpanda-front-page .elementor-widget-heading h1,
.cpanda-front-page .elementor-widget-heading h2,
.cpanda-front-page .elementor-widget-heading h3 {
  font-family: "Unbounded", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.cpanda-front-page .cpanda-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cp-green-dark);
}

.cpanda-front-page .cpanda-section-tag .elementor-widget-container,
.cpanda-front-page .cpanda-section-tag p {
  margin: 0;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
}

.cpanda-front-page .cpanda-section-tag::before {
  content: "-";
  color: var(--cp-green);
  line-height: 1;
}

.cpanda-front-page .cpanda-card {
  background: #fff;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
  box-shadow: var(--cp-shadow);
}

.cpanda-front-page .cpanda-cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(620px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid rgba(13, 26, 18, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(13, 26, 18, 0.16);
  backdrop-filter: blur(12px);
}

.cpanda-front-page .cpanda-cookie[hidden] {
  display: none;
}

.cpanda-front-page .cpanda-cookie-text {
  display: grid;
  gap: 4px;
  color: var(--cp-muted);
  font-size: 13px;
  line-height: 1.4;
}

.cpanda-front-page .cpanda-cookie strong {
  color: var(--cp-text);
  font-size: 14px;
}

.cpanda-front-page .cpanda-cookie a {
  color: var(--cp-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.cpanda-front-page .cpanda-cookie button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--cp-green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.cpanda-front-page .cpanda-inner-page,
.cpanda-front-page .cpanda-inner-page-wrap {
  background: #fff;
  padding: 80px 24px 72px;
}

.cpanda-front-page .cpanda-inner-page-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
  box-sizing: border-box;
}

.cpanda-front-page .cpanda-inner-page .cpanda-inner-page-wrap {
  padding: 0;
}

.cpanda-front-page .cpanda-inner-page h1,
.cpanda-front-page .cpanda-inner-page h2 {
  color: var(--cp-text);
  font-family: "Unbounded", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cpanda-front-page .cpanda-inner-page h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 64px);
}

.cpanda-front-page .cpanda-inner-page h2 {
  margin: 36px 0 14px;
  font-size: 26px;
}

.cpanda-front-page .cpanda-inner-page p,
.cpanda-front-page .cpanda-inner-page li {
  color: var(--cp-muted);
  font-size: 17px;
  line-height: 1.75;
}

.cpanda-front-page .cpanda-inner-page a {
  color: var(--cp-green-dark);
  font-weight: 700;
}

.cpanda-front-page .cpanda-accent {
  color: var(--cp-green);
}

@media (max-width: 1180px) {
  .cpanda-front-page .cpanda-site-header-inner {
    gap: 20px;
    width: min(100% - 32px, 1280px);
  }

  .cpanda-front-page .cpanda-site-nav {
    gap: 18px;
  }

  .cpanda-front-page .cpanda-site-nav a {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .cpanda-front-page .cpanda-site-header-inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .cpanda-front-page .cpanda-site-menu-toggle {
    display: grid;
    order: 3;
  }

  .cpanda-front-page .cpanda-site-cta {
    order: 2;
    min-width: 148px;
  }

  .cpanda-front-page .cpanda-site-nav {
    position: absolute;
    top: calc(68px + var(--cp-ticker-height));
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(13, 26, 18, 0.12);
  }

  .cpanda-front-page .cpanda-site-header.is-open .cpanda-site-nav {
    display: flex;
  }

  .cpanda-front-page .cpanda-site-nav a {
    justify-content: space-between;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 9px;
  }

  .cpanda-front-page .cpanda-site-nav a:hover {
    background: var(--cp-green-light);
  }
}

@media (max-width: 720px) {
  .cpanda-front-page .cpanda-cookie {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
  }

  .cpanda-front-page .cpanda-cookie button {
    width: 100%;
  }
}

.cpanda-messenger-button {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 9985;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--cp-green, #1db954);
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.45);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpanda-messenger-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(29, 185, 84, 0.55);
}

.cpanda-messenger-button::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(29, 185, 84, 0.35);
  border-radius: 50%;
  animation: cpanda-messenger-ring 2s ease-out infinite;
}

@keyframes cpanda-messenger-ring {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.cpanda-messenger-button svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.cpanda-messenger-button-icon-open,
.cpanda-messenger-button-icon-close {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpanda-messenger-button-icon-close {
  display: none;
}

.cpanda-messenger-button-icon-close svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.cpanda-messenger-button.is-open .cpanda-messenger-button-icon-open {
  display: none;
}

.cpanda-messenger-button.is-open .cpanda-messenger-button-icon-close {
  display: flex;
}

.cpanda-messenger-popup {
  position: fixed;
  right: 28px;
  bottom: 154px;
  z-index: 9984;
  overflow: hidden;
  width: 284px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.75) translateY(12px);
  transform-origin: bottom right;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
}

.cpanda-messenger-popup.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.cpanda-messenger-popup-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--cp-green, #1db954), #17a349);
}

.cpanda-messenger-avatar {
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cpanda-messenger-avatar svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.cpanda-messenger-name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.cpanda-messenger-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.cpanda-messenger-status span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fff7f;
  animation: cpanda-messenger-pulse 1.8s infinite;
}

@keyframes cpanda-messenger-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

.cpanda-messenger-popup-body {
  padding: 16px;
}

.cpanda-messenger-message {
  margin-bottom: 13px;
  padding: 11px 13px;
  border-radius: 4px 14px 14px;
  background: var(--cp-green-light, #e8f8ee);
  color: var(--cp-dark, #0d1a12);
  font-size: 13px;
  line-height: 1.6;
}

.cpanda-messenger-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cpanda-messenger-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 9px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.cpanda-messenger-link:hover {
  color: #fff;
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.cpanda-messenger-link.is-telegram {
  background: #229ed9;
}

.cpanda-messenger-link.is-max {
  background: var(--cp-green, #1db954);
}

.cpanda-messenger-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #fff;
}

@media (max-width: 560px) {
  .cpanda-messenger-button {
    right: 18px;
    bottom: 22px;
  }

  .cpanda-messenger-popup {
    right: 18px;
    bottom: 92px;
    width: min(284px, calc(100vw - 36px));
  }

  .cpanda-messenger-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cpanda-front-page .cpanda-site-header-inner {
    grid-template-columns: auto auto;
    width: calc(100% - 24px);
    min-height: 64px;
    gap: 10px;
  }

  .cpanda-front-page .cpanda-site-header {
    min-height: calc(64px + var(--cp-ticker-height));
  }

  .cpanda-front-page .cpanda-site-logo-img {
    width: 118px;
  }

  .cpanda-front-page .cpanda-site-cta {
    display: none;
  }

  .cpanda-front-page .cpanda-site-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .cpanda-front-page .cpanda-site-nav {
    top: calc(64px + var(--cp-ticker-height));
    right: 12px;
    left: 12px;
  }
}
