/* Garmin Connect landing clone for garmin.pro — /images/connect/ */
:root {
  --gc-black: #000;
  --gc-dark: #1a1a1a;
  --gc-gray: #6b6b6b;
  --gc-light: #f5f5f5;
  --gc-white: #fff;
  --gc-blue: #007dc3;
  --gc-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.gc-wrap,
.gc-wrap * {
  box-sizing: border-box;
}

.gc-wrap {
  font-family: var(--gc-font);
  color: var(--gc-dark);
  background: var(--gc-white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.gc-wrap a {
  color: inherit;
  text-decoration: none;
}

.gc-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.gc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--gc-black);
  color: var(--gc-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.gc-logo {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  display: inline-block;
  line-height: 1.2;
}

.gc-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gc-nav a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
}

.gc-nav a:hover {
  opacity: 0.85;
}

.gc-btn-login {
  appearance: none;
  display: inline-block;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1.2;
}

.gc-btn-login:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */
.gc-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 8% 40px;
  background: #f7f7f7 url("../img/home-hero.BWaoDP4h.jpg") right center / cover no-repeat;
  min-height: 420px;
  position: relative;
}

.gc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 247, 247, 0.97) 0%, rgba(247, 247, 247, 0.88) 42%, rgba(247, 247, 247, 0.35) 70%, transparent 100%);
  pointer-events: none;
}

.gc-hero-text,
.gc-hero-media {
  position: relative;
  z-index: 1;
}

.gc-hero-text {
  flex: 1 1 320px;
  max-width: 520px;
}

.gc-hero-text h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #111;
}

.gc-hero-text p {
  font-size: 1.15rem;
  font-weight: 300;
  color: #333;
  margin: 0 0 24px;
  max-width: 420px;
}

.gc-store-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  column-gap: 12px;
  row-gap: 0;
  margin-bottom: 8px;
  width: 100%;
  max-width: 520px;
}

.gc-store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  min-width: 0;
  height: 100%;
}

.gc-store-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.25;
  color: #333;
  max-width: 100%;
  min-height: 2.5em; /* две строки — одинаковая высота подписей */
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gc-store {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: transparent;
  padding: 0;
  border: 0;
  width: 100%;
  margin-top: auto;
}

.gc-store:hover {
  opacity: 0.88;
}

.gc-store img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.gc-hero-media {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
}

.gc-hero-media img {
  width: min(280px, 100%);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.gc-hero-scroll {
  flex: 0 0 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 8px;
}

.gc-hero-scroll a {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 400;
  color: #222;
}

.gc-hero-scroll .gc-chevron {
  width: 28px;
  height: 28px;
  margin: 10px auto 0;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
}

/* Steps strip */
.gc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 8%;
  background: var(--gc-white);
  text-align: center;
  border-bottom: 1px solid #eee;
}

.gc-step img {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
}

.gc-step p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  font-weight: 400;
}

/* Feature sections */
.gc-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 56px 8%;
}

.gc-section:nth-child(even) {
  background: var(--gc-light);
}

.gc-section--reverse {
  flex-direction: row-reverse;
}

.gc-section-text {
  flex: 1 1 300px;
  max-width: 480px;
}

.gc-section-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  margin: 0 0 16px;
}

.gc-section-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #444;
  margin: 0 0 12px;
}

.gc-section-media {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
}

.gc-section-media img {
  width: min(320px, 100%);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.gc-link-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid #222;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.gc-link-btn:hover {
  background: #111;
  color: #fff;
}

/* Devices */
.gc-devices {
  text-align: center;
  padding: 56px 8%;
  background: #fff;
}

.gc-devices h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  margin: 0 0 12px;
}

.gc-devices > p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-weight: 300;
  color: #444;
}

.gc-devices-img {
  max-width: 720px;
  margin: 0 auto 28px;
}

.gc-devices-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gc-devices .gc-link-btn {
  margin-top: 0;
}

/* CTA get started */
.gc-cta {
  text-align: center;
  padding: 64px 8%;
  background: #111 url("../img/home-get-started.BjzfchKo.jpg") center / cover no-repeat;
  color: #fff;
  position: relative;
}

.gc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gc-cta-inner {
  position: relative;
  z-index: 1;
}

.gc-cta h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
  margin: 0 0 12px;
}

.gc-cta p {
  margin: 0 0 24px;
  font-weight: 300;
  opacity: 0.95;
}

.gc-cta .gc-btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: #111 !important;
  border-radius: 4px;
  font-weight: 500;
}

.gc-cta .gc-btn-primary:hover {
  opacity: 0.92;
}

/* Footer (legal only — no other apps, no scale/vivoki) */
.gc-footer {
  background: #eaeaea;
  padding: 36px 8% 28px;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
}

.gc-footer-legal {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #666;
}

.gc-footer-accuracy {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  border: 1px solid #888;
  border-radius: 4px;
  color: #333;
  font-size: 0.9rem;
}

.gc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.gc-footer-links a {
  color: #444;
  font-size: 0.85rem;
}

.gc-footer-links a:hover {
  text-decoration: underline;
}

.gc-footer-links li:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: #999;
}

.gc-social {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.gc-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #bbb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.gc-social a:hover {
  background: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .gc-header {
    padding: 12px 16px;
  }

  .gc-nav a:not(.gc-btn-login-wrap) {
    display: none;
  }

  /* keep only login on mobile header for simplicity; start still in CTA */
  .gc-nav .gc-nav-start {
    display: none;
  }

  .gc-hero {
    padding: 32px 6% 28px;
    background-image: url("../img/home-hero-mobile.BV6_JcMY.jpg");
  }

  .gc-store-btns {
    max-width: 100%;
    gap: 10px;
  }

  .gc-store-label {
    font-size: 0.72rem;
  }

  .gc-hero::before {
    background: linear-gradient(180deg, rgba(247, 247, 247, 0.95) 0%, rgba(247, 247, 247, 0.75) 55%, rgba(247, 247, 247, 0.4) 100%);
  }

  .gc-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gc-section {
    padding: 40px 6%;
    flex-direction: column !important;
  }
}

/* Bitrix embed isolation */
.gc-root {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
