/* =========================================================
   Handy Gardener — global stylesheet
   Order: tokens, base, layout, header, hero, intro,
   service cards, tabs, contact, footer, breakpoints
   ========================================================= */

:root {
  --background: #ffffff;
  --foreground: #3d4031;

  --hg-text: #3d4031;
  --hg-muted: #666a57;

  --hg-sage-100: #f2f1e8;
  --hg-sage-200: #d9d6bf;
  --hg-sage-300: #b2b08b;
  --hg-sage-500: #5b5b2f;
  --hg-sage-700: #444523;

  --hg-panel-bg: #f5f3ea;
  --hg-form-bg: #efede1;

  --hg-section-bg: #ffffff;
  --hg-card-default: #f2f1e8;
  --hg-card-featured: #ffffff;

  --hg-ring: rgba(91, 91, 47, 0.2);
  --hg-ring-soft: rgba(91, 91, 47, 0.1);
  --hg-btn-ghost-border: rgba(91, 91, 47, 0.22);
  --hg-radius: 0.9rem;
}

/* =========================================================
   Base
   ========================================================= */

body {
  margin: 0;
  background: var(--background);
  color: var(--hg-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

section {
  position: relative;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--hg-text);
}

h1 {
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  line-height: 1.1;
  padding-bottom: 12px;
}

h2 {
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.2;
}

h4 {
  font-size: clamp(1.05rem, 2.2vw, 1.125rem);
  line-height: 1.25;
}

p {
  line-height: 1.7;
}

/* =========================================================
   Layout primitives
   ========================================================= */

.hg-container {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.hg-section {
  background: var(--hg-section-bg);
  color: var(--hg-text);
  padding-top: 32px;
  padding-bottom: 24px;
}

.hg-layout-2col {
  display: grid;
  gap: 2rem;
}

.hg-grid-cards {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.hg-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}
.hg-contact-form .hg-btnrow {
  margin-top: 1.5rem;
}

.hg-contact-form .hg-btn {
  width: 100%;
  min-height: 44px;
}

/* =========================================================
   Buttons
   ========================================================= */

.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  background: var(--hg-sage-500);
  color: #ffffff;
  border: none;
  appearance: none;
  cursor: pointer;
}

.hg-btn:hover {
  background-color: var(--hg-sage-700);
}

.hg-btn--ghost {
  background: transparent;
  color: var(--hg-sage-500);
  border: 1px solid var(--hg-btn-ghost-border);
}

.hg-btn--ghost:hover {
  background: rgba(46, 58, 52, 0.06);
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.hg-header {
  position: sticky;
  padding: 24px 0;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 2px solid var(--hg-ring-soft);
}

.hg-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.hg-header__brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.7rem;
  color: var(--hg-text);
  text-decoration: none;
  padding-bottom: 0.1rem;
}

.hg-header__brand img {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.hg-header__brand-text {
  display: flex;
  align-items: flex-end;
  color: var(--hg-text);
  line-height: 1;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hg-header__brand-text strong {
  font: inherit;
  font-weight: inherit;
}

.hg-header__brand:hover,
.hg-header__brand:hover .hg-header__brand-text {
  color: var(--hg-sage-500);
}

.hg-header__burger {
  appearance: none;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 0;
  font-size: 0;
}

.hg-header__burger span {
  position: absolute;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--hg-sage-700);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    top 0.18s ease;
}
.hg-header__burger span:nth-child(1) {
  top: 14px;
}

.hg-header__burger span:nth-child(2) {
  top: 20px;
}

.hg-header__burger span:nth-child(3) {
  top: 26px;
}

.hg-header__burger.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.hg-header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.hg-header__burger.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.hg-header__nav > ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hg-header__link {
  color: var(--hg-text);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.hg-header__link:hover {
  color: var(--hg-sage-500);
}

.hg-header__link[aria-current="page"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hg-sage-700);
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--hg-sage-300);
  border-radius: 999px;
}

.hg-header__subnav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.hg-header__subnav-toggle::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 0.8em;
}

.hg-header__has-subnav.is-open .hg-header__subnav-toggle::after {
  content: "▴";
}

/* =========================================================
   Header dropdown (subnav)
   ========================================================= */

.hg-header__has-subnav {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
}

.hg-header__subnav {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--hg-ring-soft);
  border-radius: var(--hg-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  margin-top: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
}

.hg-header__subnav li {
  width: 100%;
}

.hg-header__sublink {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.hg-header__sublink:hover {
  background: var(--hg-sage-100);
}

/* Show on click */
.hg-header__has-subnav.is-open .hg-header__subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hg-header__brand-wrap {
  display: flex;
  flex-direction: column;
}

.hg-header__meta {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
  padding-left: 52px;
  padding-top: 4px;
}

/* Mobile: stack subnav */
@media (max-width: 980px) {
  .hg-header__subnav {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding-left: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
  }

  .hg-header__has-subnav.is-open .hg-header__subnav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 24rem;
  }

  .hg-header__nav > ul {
    width: 100%;
    display: grid;
    gap: 0.5rem;
    justify-content: stretch;
    padding: 0.75rem 0 0;
  }
  .hg-header__meta {
    padding-left: 42px;
  }
}

/* =========================================================
   Cookie banner
   ========================================================= */

.hg-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
}

.hg-cookie[hidden] {
  display: none;
}

.hg-cookie__inner {
  max-width: 76rem;
  margin-inline: auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(46, 58, 52, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hg-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.hg-cookie p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hg-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-shrink: 0;
}

.hg-cookie__actions .hg-btn {
  padding: 0.5rem 0.95rem;
}

.hg-cookie__actions .hg-btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.hg-cookie__actions .hg-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
/* =========================================================
   Hero
   ========================================================= */

.hg-hero {
  background: #5b5b2f;
  padding: 40px 0 32px;
  color: #ffffff;
}

.hg-hero__content {
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.hg-hero-text {
  display: grid;
  padding-right: 24px;
  gap: 0.75rem;
  text-align: center;
}

.hg-hero h1,
.hg-hero h2 {
  color: #ffffff;
  margin: 0;
}

.hg-hero h1 {
  padding-bottom: 0;
}

.hg-hero__media {
  position: relative;
}

.hg-hero__media-box {
  overflow: hidden;
  border-radius: var(--hg-radius);
  background: transparent;
  outline: none;
}

.hg-carousel {
  position: relative;
  padding-bottom: 0;
}

.hg-carousel__track {
  position: relative;
}

.hg-carousel__slide {
  display: none;
  margin: 0;
  position: relative;
}

.hg-carousel__slide.is-active {
  display: block;
}

.hg-carousel__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--hg-radius) var(--hg-radius);
}

.hg-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.1rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 0;
  background: rgba(46, 58, 52, 0.86);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.hg-carousel__controls {
  position: absolute;
  inset: 50% 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 0.6rem;
}

.hg-carousel__btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(46, 58, 52, 0.78);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
.hg-carousel__btn--prev,
.hg-carousel__btn--next {
  padding-bottom: 2px;
}

.hg-carousel__btn:hover {
  background: rgba(46, 58, 52, 0.92);
}

.hg-carousel__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem 0.9rem;
}

.hg-carousel__footer-caption {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.35rem;
  opacity: 0.95;
}

.hg-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
}

.hg-carousel__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  padding: 0;
}

.hg-carousel__dot.is-active {
  background: #ffffff;
}

.hg-btn--hero {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hg-btn--hero:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}
.hg-hero-subtitle {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}
.hg-hero-trust {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-style: italic;
  color: #ffffff;
}
.hg-hero-cta {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
}

/* =========================================================
   Intro
   ========================================================= */

.hg-intro {
  padding-top: 3rem;
}

.hg-intro__body {
  display: block;
  margin-top: 1.5rem;
}
.hg-intro__content > * + * {
  margin-top: 1.25rem;
}
.hg-intro__image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  margin: 0;
  border-radius: var(--hg-radius);
}
.hg-page__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  border-radius: var(--hg-radius);
}
.hg-intro__figure {
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.hg-intro__figure img {
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 8px;
  border-radius: var(--hg-radius);
}
.hg-common-issues {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  font-weight: 500;
}

.hg-common-issues li + li {
  margin-top: 0.5rem;
}

/* =========================================================
   Service cards
   ========================================================= */

.hg-services {
  background: var(--hg-section-bg);
  color: var(--hg-text);
}

.hg-services__header {
  margin-bottom: 1rem;
}

.hg-services__intro {
  margin-top: 0.75rem;
  max-width: 48rem;
  color: var(--hg-muted);
}

.hg-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  justify-content: flex-start;
  height: 100%;
  min-height: 23rem;
  padding: 1.5rem;
  border: 1px solid var(--hg-ring-soft);
  border-radius: var(--hg-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  color: var(--hg-text);
  box-sizing: border-box;
}

.hg-card--default {
  background: var(--hg-card-default);
}

.hg-card--featured {
  background: var(--hg-card-featured);
  outline-color: var(--hg-ring);
}

.hg-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.hg-icon {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  color: var(--hg-sage-500);
  margin: 0 auto;
}
.hg-card__icon img {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hg-card h3 {
  margin: 0 0 0.75rem;
}

.hg-card p {
  margin: 0;
  line-height: 1.7;
  flex: 1 1 auto;
}

.hg-card__cta {
  margin-top: 1.5rem;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hg-card__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 36px;
  padding: 0.45rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--hg-sage-700);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.hg-card__cta-link:hover,
.hg-card__cta-link:focus-visible {
  background-color: var(--hg-sage-700);
  color: #ffffff;
  border-color: var(--hg-sage-700);
}

/* =========================================================
   Service area map
   ========================================================= */

.hg-service-area__figure {
  margin: 1.5rem auto 0;
  max-width: 100%;
}

.hg-service-area__map {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hg-ring-soft);
  border-radius: var(--hg-radius);
  background: var(--hg-panel-bg);
}

.hg-service-area__figure figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--hg-muted);
}

/* =========================================================
   Contact
   ========================================================= */

.hg-contact {
  display: block;
}

.hg-contact__grid {
  display: grid;
  gap: 0;
  align-items: start;
  background: var(--hg-panel-bg);
  border: 1px solid var(--hg-ring-soft);
  border-radius: var(--hg-radius);
  overflow: hidden;
}

.hg-contact__intro {
  grid-column: 1;
  padding: 24px;
  max-width: none;
  float: none;
}

.hg-contact__intro h2 {
  margin: 0 0 0.75rem;
}

.hg-contact__intro p,
.hg-contact__colhead h3,
.hg-contact__option h3 {
  margin: 0;
}

.hg-contact__colhead {
  padding: 0 24px 0.75rem;
}

.hg-contact__content {
  display: grid;
  gap: 1.25rem;
  padding: 0 24px 24px;
}

.hg-contact__option p {
  color: var(--hg-muted);
}

.hg-contact__map {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: var(--hg-radius);
  background: transparent;
  outline: 1px solid var(--hg-ring-soft);
}

.hg-contact__map-image {
  width: 100%;
  height: auto;
}

.hg-contact__areas {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--hg-text);
}

.hg-contact__areas li + li {
  margin-top: 0.35rem;
}

.hg-contact__formwrap {
  background: transparent;
  padding: 24px;
  margin: 0 24px 24px 0;
}

.hg-contact-form {
  display: grid;
  gap: 1rem;
}

.hg-contact-form__field {
  display: grid;
  gap: 0.45rem;
}

.hg-contact-form__field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hg-text);
}

.hg-contact-form__field input,
.hg-contact-form__field select,
.hg-contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(46, 58, 52, 0.16);
  border-radius: var(--hg-radius);
  background: var(--hg-form-bg);
  color: var(--hg-text);
  padding: 0.85rem 0.95rem;
  font: inherit;
  box-sizing: border-box;
}

.hg-contact-form__field textarea {
  resize: vertical;
  min-height: 9rem;
}

.hg-contact-form__field input:focus,
.hg-contact-form__field select:focus,
.hg-contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(46, 58, 52, 0.3);
  box-shadow: 0 0 0 3px rgba(143, 167, 154, 0.22);
}

/* =========================================================
   Footer
   ========================================================= */

.hg-footer {
  margin-top: 0;
  background: var(--hg-sage-700);
  color: #ffffff;
}

.hg-footer__inner {
  padding: 2.25rem 0;
}

.hg-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.hg-footer__col {
  min-width: 0;
}

.hg-footer__title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.hg-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hg-footer__list li + li {
  margin-top: 0.5rem;
}

.hg-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.hg-footer p + p {
  margin-top: 0.75rem;
}

.hg-footer a {
  color: #ffffff;
}

.hg-footer a:hover {
  color: var(--hg-sage-100);
}

.hg-footer__rule {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hg-footer__copyright {
  text-align: center;
}

/* =========================================================
   Breakpoints
   ========================================================= */

@media (max-width: 980px) {
  .hg-header__inner {
    min-height: auto;
    padding-block: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.75rem;
  }

  .hg-header__brand {
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 0;
  }

  .hg-header__brand img {
    width: 34px;
  }

  .hg-header__brand-text {
    font-size: 1.2rem;
    line-height: 1.05;
  }

  .hg-header__burger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    border: 1px solid var(--hg-ring-soft);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .hg-header__nav {
    display: none;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--hg-sage-700);
    margin-top: 0.125rem;
  }

  .hg-header__nav.is-open {
    display: block;
  }

  .hg-header__nav ul {
    width: 100%;
    display: grid;
    gap: 0.5rem;
    justify-content: stretch;
    padding: 0.75rem 0 0;
  }

  .hg-header__nav li {
    width: 100%;
  }

  .hg-header__link,
  .hg-header__cta {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .hg-header__link {
    padding: 0.65rem 0;
  }

  .hg-header__cta {
    margin-left: 0;
    margin-top: 0.25rem;
    justify-content: center;
    padding: 0.7rem 1rem;
  }

  .hg-container {
    padding-inline: 1rem;
  }

  .hg-hero {
    padding: 28px 0 24px;
  }

  .hg-hero__content {
    gap: 1rem;
  }

  .hg-hero-text {
    display: block;
    width: 100%;
  }

  .hg-hero h1 {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
    padding-bottom: 0.5rem;
    margin-bottom: 0;
  }

  .hg-hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 32rem;
    font-weight: 600;
  }

  .hg-hero-trust {
    text-align: center;
    padding-top: 0.35rem;
    font-weight: 500;
  }

  .hg-hero__image {
    padding: 0.35rem;
  }

  .hg-intro {
    padding-top: 2rem;
  }

  .hg-intro__body {
    margin-top: 1.25rem;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hg-intro__content,
  .hg-intro__media {
    grid-column: 1;
  }

  .hg-intro__content > * + * {
    margin-top: 1rem;
  }

  .hg-intro__media {
    justify-content: flex-start;
  }

  .hg-intro__image,
  .hg-intro__figure {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hg-grid-cards,
  .hg-contact__grid {
    gap: 1.5rem;
  }

  .hg-card {
    padding: 1.25rem;
    min-height: 24rem;
  }

  .hg-card__cta {
    margin-top: 1.25rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hg-services-tabs .hg-tabs__labels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0;
    margin: 0 0 1rem;
    overflow: visible;
  }

  .hg-services-tabs .hg-tabs__labels label {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    white-space: normal;
    text-align: center;
    font-size: 0.95rem;
    min-height: 48px;
    box-sizing: border-box;
    border-radius: 0.9rem;
    padding: 0.85rem 0.75rem;
  }

  .hg-services-tabs #tab-1:checked ~ .hg-tabs__labels label[for="tab-1"],
  .hg-services-tabs #tab-2:checked ~ .hg-tabs__labels label[for="tab-2"],
  .hg-services-tabs #tab-3:checked ~ .hg-tabs__labels label[for="tab-3"],
  .hg-services-tabs #tab-4:checked ~ .hg-tabs__labels label[for="tab-4"] {
    margin-bottom: 0;
    padding-bottom: 0.85rem;
    transform: none;
    border-bottom: 1px solid rgba(46, 58, 52, 0.2);
  }

  .hg-services-tabs #tab-1:checked ~ .hg-tabs__labels label[for="tab-1"]::after,
  .hg-services-tabs #tab-2:checked ~ .hg-tabs__labels label[for="tab-2"]::after,
  .hg-services-tabs #tab-3:checked ~ .hg-tabs__labels label[for="tab-3"]::after,
  .hg-services-tabs
    #tab-4:checked
    ~ .hg-tabs__labels
    label[for="tab-4"]::after {
    display: none;
  }

  .hg-services-tabs .hg-tabs__panels {
    padding: 1rem;
    margin-top: 0;
    border-radius: 0.9rem;
  }

  .hg-contact__intro {
    order: 1;
  }

  .hg-contact__colhead--left {
    order: 2;
  }

  .hg-contact__content {
    order: 3;
  }

  .hg-contact__colhead--right {
    order: 4;
    padding-top: 0.25rem;
  }

  .hg-contact__formwrap {
    order: 5;
  }
  .hg-footer {
    padding: 2rem;
  }

  .hg-footer__inner {
    padding: 2.5rem 0 2.25rem;
  }

  .hg-cookie {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .hg-cookie__inner {
    padding: 0.85rem 0.95rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hg-cookie__actions {
    width: 100%;
  }
}

@media (min-width: 981px) {
  .hg-header__burger {
    display: none;
  }

  .hg-header__nav {
    display: block;
    width: auto;
    padding-top: 0;
    border-top: 0;
    margin-top: 0;
  }
  .hg-container {
    padding-inline: 1.5rem;
  }
  .hg-header__has-subnav:hover .hg-header__subnav,
  .hg-header__has-subnav:focus-within .hg-header__subnav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hg-layout-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hg-grid-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hg-services__header {
    margin-bottom: 2rem;
  }

  .hg-hero__content {
    grid-template-columns: 0.9fr 1.6fr;
    align-items: center;
    text-align: left;
  }

  .hg-hero-text {
    text-align: left;
    padding-right: 0.5rem;
    max-width: 30rem;
  }

  .hg-hero-subtitle,
  .hg-hero-trust,
  .hg-hero-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .hg-btnrow {
    justify-content: flex-start;
  }
}
