.gcfence-switcher {
  --gcf-dark: #26342d;
  --gcf-green: #234d39;
  --gcf-off-white: #f8f6f0;
  --gcf-chip: #ebe9dc;
  color: var(--gcf-dark);
  font-family: inherit;
  max-width: 100%;
}

.gcfence-switcher,
.gcfence-switcher * {
  box-sizing: border-box;
}

.gcfence-switcher__header {
  margin-bottom: clamp(24px, 3vw, 42px);
  max-width: 100%;
  width: 100%;
}

.gcfence-switcher__heading {
  color: var(--gcf-dark);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 14px;
}

.gcfence-switcher__intro {
  color: #56625b;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  margin: 0;
}

.gcfence-switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.gcfence-switcher__tab {
  appearance: none;
  background: var(--gcf-off-white);
  border: 1px solid rgba(35, 77, 57, 0.14);
  border-radius: 999px;
  color: var(--gcf-dark);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  min-height: 44px;
  padding: 11px 18px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gcfence-switcher__tab:hover {
  border-color: rgba(35, 77, 57, 0.42);
}

.gcfence-switcher__tab[aria-selected="true"] {
  background: var(--gcf-green);
  border-color: var(--gcf-green);
  color: #fff;
}

.gcfence-switcher__tab:focus-visible,
.gcfence-switcher__cta:focus-visible {
  outline: 3px solid #b1c797;
  outline-offset: 3px;
}

.gcfence-switcher__panel {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
}

.gcfence-switcher__panel[hidden] {
  display: none;
}

.gcfence-switcher__panel.is-entering {
  animation: gcfence-fade-in 280ms ease both;
}

@keyframes gcfence-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.gcfence-switcher__media {
  background: var(--gcf-off-white);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(25, 43, 34, 0.09);
  height: 500px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.gcfence-switcher__image {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gcfence-switcher__content {
  min-width: 0;
}

.gcfence-switcher__title {
  color: var(--gcf-dark);
  font-size: clamp(26px, 2.6vw, 39px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.gcfence-switcher__description {
  color: #58635d;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.gcfence-switcher__description p {
  margin: 0 0 0.8em;
}

.gcfence-switcher__description p:last-child {
  margin-bottom: 0;
}

.gcfence-switcher__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.gcfence-switcher__benefit {
  background: var(--gcf-chip);
  border-radius: 999px;
  color: #3d493f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  padding: 9px 13px;
}

.gcfence-switcher__cta {
  align-items: center;
  background: var(--gcf-green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  min-height: 48px;
  padding: 13px 21px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gcfence-switcher__cta:hover {
  background: #183d2b;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .gcfence-switcher__panel {
    gap: 30px;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
  }

  .gcfence-switcher__media {
    height: 390px;
  }
}

@media (max-width: 767px) {
  .gcfence-switcher__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 3px 12px;
    width: 100%;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .gcfence-switcher__tab {
    min-height: 46px;
    padding-left: 17px;
    padding-right: 17px;
  }

  .gcfence-switcher__panel {
    align-items: stretch;
    gap: 25px;
    grid-template-columns: minmax(0, 1fr);
  }

  .gcfence-switcher__media {
    height: 270px;
  }

  .gcfence-switcher__benefits {
    margin-bottom: 25px;
  }

  .gcfence-switcher__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gcfence-switcher__panel.is-entering {
    animation: none;
  }

  .gcfence-switcher__tab,
  .gcfence-switcher__cta {
    transition: none;
  }
}
