
/* ================================================================= */
/*                         GLOBAL RESET                              */
/* ================================================================= */

#hy-root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #ffffff;
}

.hy-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }


/* ================================================================= */
/*                               HERO                                 */
/* ================================================================= */

.hy-hero {
  padding: 60px 0 40px;
}

.hy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 40px;
  align-items: center;
}

.hy-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hy-h1 {
  margin: 0 0 14px;
  font-size: clamp(32px,4vw,48px);
  font-weight: 800;
  line-height: 1.1;
}

.hy-h1 span { color: #16a34a; }

.hy-hero-sub {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 20px;
}

.hy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hy-badges span {
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.hy-hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

/* CTA BUTTON — FIXED AS YOU ASKED */
.hy-btn.hy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 2px solid #16a34a;
  color: #111;
  font-weight: 600;
  font-size: 15px;
  transition: all .25s ease;
  cursor: pointer;
}

.hy-btn.hy-cta:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(22,163,74,0.35);
}

.hy-btn-ghost {
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: #ffffff;
  transition: all .25s ease;
}
.hy-btn-ghost:hover {
  background: #f3f4f6;
  transform: translateY(-4px);
}

.hy-hero-note {
  font-size: 12px;
  color: #6b7280;
}

.hy-hero-photo {
  background: #f3f4f6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.hy-hero-photo img {
  width: 100%;
  display: block;
}

.hy-hero-caption {
  font-size: 12px;
  padding: 8px 12px;
  color: #6b7280;
  background: #fff;
}


/* ================================================================= */
/*                               TICKER                               */
/* ================================================================= */

.hy-ticker {
  background: #000;
  color: #f8fafc;
  padding: 10px 0;
  overflow: hidden;
  font-size: 14px;
}

.hy-ticker-track {
  display: inline-flex;
  gap: 50px;
  white-space: nowrap;
  animation: tickerMove 35s linear infinite;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================= */
/*                           SERVICES GRID                            */
/* ================================================================= */

.hy-services-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.hy-service {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity .45s ease-out,
    transform .45s ease-out,
    box-shadow .25s ease,
    transform .25s ease;
}

/* появление */
.hy-service.visible {
  opacity: 1;
  transform: translateY(0);
}

.hy-service-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

/* hover: zoom image */
.hy-service:hover .hy-service-photo img {
  transform: scale(1.06);
}

.hy-service-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hy-service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hy-service-title {
  font-size: 15px;
  font-weight: 600;
}

.hy-service-price {
  font-size: 14px;
  color: #16a34a;
  font-weight: 700;
}

.hy-service-desc {
  color: #4b5563;
  font-size: 13px;
}

.hy-service-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hy-service-meta span {
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 999px;
  font-size: 11px;
}


/* ================================================================= */
/*                        APPLE-LIKE TILT EFFECT                     */
/* ================================================================= */

.hy-tilt {
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform, box-shadow;
  cursor: pointer;
}

.hy-tilt:hover {
  box-shadow: 0 24px 50px rgba(0,0,0,0.15);
}


/* ================================================================= */
/*                                MODELS                              */
/* ================================================================= */

.hy-models-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 18px;
  margin-top: 25px;
}

.hy-model-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  padding: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease-out, transform .45s ease-out, box-shadow .25s ease;
}

.hy-model-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.hy-model-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.hy-model-name {
  font-size: 14px;
  font-weight: 600;
}

.hy-model-sub {
  font-size: 12px;
  color: #6b7280;
}


/* ================================================================= */
/*                            PROBLEMS TABS                           */
/* ================================================================= */

.hy-tabs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.hy-tab-btn {
  padding: 7px 14px;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  font-size: 13px;
  transition: all .25s ease;
}

.hy-tab-btn--active {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.hy-tabs-content {
  margin-top: 18px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.hy-tab-pane { display: none; }
.hy-tab-pane--active { display: block; }

.hy-problems-list {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14px;
}
.hy-problems-list li + li {
  margin-top: 6px;
}


/* ================================================================= */
/*                          WHY US – COMPARISON                      */
/* ================================================================= */

.hy-why-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,0.9fr);
  gap: 25px;
}

.hy-compare {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.hy-compare-column h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.hy-compare ul {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14px;
}
.hy-compare ul li + li {
  margin-top: 6px;
}

.hy-compare-bad {
  opacity: 0.65;
}


/* ================================================================= */
/*                            ADVANTAGES                             */
/* ================================================================= */

.hy-advantages-list {
  display: grid;
  gap: 16px;
}

.hy-adv {
  display: flex;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.hy-adv-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}


/* ================================================================= */
/*                                HOOKS                              */
/* ================================================================= */

.hy-hooks {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.hy-hook {
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.hy-hook-label {
  font-size: 11px;
  color: #9ca3af;
}

.hy-hook-title {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0;
}

.hy-hook-text {
  font-size: 13px;
  color: #4b5563;
}


/* ================================================================= */
/*                             FAQ + CONTACT                          */
/* ================================================================= */

.hy-faq-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 20px;
}

.hy-faq {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.hy-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.hy-contact-card {
  background: linear-gradient(135deg,#16a34a,#22c55e);
  border-radius: 20px;
  padding: 20px;
  color: #ecfdf3;
  box-shadow: 0 20px 50px rgba(22,163,74,0.5);
}

.hy-contact-title {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
}

.hy-contact-sub {
  font-size: 14px;
  opacity: 0.9;
}

.hy-contact-card input {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.hy-contact-tg {
  display: inline-block;
  color: #fff;
  margin-top: 12px;
  font-size: 15px;
}


/* ================================================================= */
/*                         BACK TO TOP BUTTON                         */
/* ================================================================= */

.hy-backtotop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #111;
  color: #ffffff;
  font-size: 22px;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 42px rgba(0,0,0,0.4);
}

.hy-backtotop.visible {
  display: flex;
}


/* ================================================================= */
/*                                RESPONSIVE                          */
/* ================================================================= */

@media (max-width: 1024px) {
  .hy-hero-grid { grid-template-columns: 1fr; }
  .hy-services-grid { grid-template-columns: repeat(2,1fr); }
  .hy-models-grid { grid-template-columns: repeat(3,1fr); }
  .hy-hooks { grid-template-columns: repeat(2,1fr); }
  .hy-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hy-services-grid { grid-template-columns: 1fr; }
  .hy-models-grid { grid-template-columns: repeat(2,1fr); }
  .hy-hooks { grid-template-columns: 1fr; }
}
