:root {
  --gamed-blue: #0d70d2;
  --gamed-blue-dark: #153d64;
  --gamed-blue-accent: #5ac3e6;
  --gamed-blue-mid: #2da4d9;
  --gamed-bg-light: #fafdff;
  --gamed-white: #ffffff;
  --gamed-font: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gamed-shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(25, 25, 25, 0.03);
}

body {
  font-family: var(--gamed-font);
  color: var(--gamed-blue-dark);
  background: #f5f7fa;
}

.gamed-container {
  --gamed-container-pad: 40px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 var(--gamed-container-pad);
}

.gamed-home {
  overflow-x: hidden;
}

.gamed-hero {
  background: var(--gamed-blue);
  min-height: 604px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gamed-hero .gamed-container {
  position: relative;
  min-height: 604px;
}

.gamed-hero-grid {
  min-height: 482px;
}

.gamed-hero-copy {
  max-width: 427px;
  padding-top: 111px;
  padding-bottom: 77px;
  position: relative;
  z-index: 2;
}

.gamed-hero-copy h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.07;
}

.gamed-hero-copy p {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.34;
}

.gamed-pill-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 163px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 37px;
  background: var(--gamed-blue-accent);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.gamed-pill-btn:hover,
.gamed-pill-btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

.gamed-hero-image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * max(0px, (100vw - 1440px) / 2));
  width: clamp(420px, 58vw, 966px);
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  transform: translateX(clamp(0px, (1320px - 100vw) * 0.4, 280px));
}

.gamed-hero-image picture {
  display: block;
  height: 100%;
  width: max-content;
  max-width: none;
}

.gamed-hero-image img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.gamed-services {
  background: var(--gamed-bg-light);
  padding: 94px 0;
}

.gamed-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 338px));
  justify-content: center;
  gap: 100px;
}

.gamed-service-card {
  min-height: 344px;
  background: #fff;
  border-radius: 41px;
  box-shadow: var(--gamed-shadow);
  text-align: center;
  padding: 22px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.gamed-service-icon {
  width: auto;
  height: auto;
  max-width: 128px;
  max-height: 95px;
  object-fit: contain;
}

.gamed-service-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  color: var(--gamed-blue-dark);
}

.gamed-service-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.31;
  color: var(--gamed-blue-dark);
}

.gamed-service-card .gamed-pill-btn {
  margin-top: auto;
}

.gamed-why {
  background: var(--gamed-blue);
  color: #fff;
}

.gamed-why-grid {
  display: grid;
  grid-template-columns: minmax(420px, 639px) minmax(380px, 713px);
  align-items: center;
  justify-content: center;
  gap: 74px;
}

.gamed-why-image img {
  display: block;
  width: 100%;
  height: auto;
}

.gamed-why-copy h2 {
  margin: 0 0 20px;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
}

.gamed-why-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 10px 36px;
}

.gamed-why-copy li {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 78px;
}

.gamed-why-copy li span {
  font-size: 20px;
  line-height: 1.2;
}

.gamed-phone-cta {
  background: var(--gamed-blue-mid);
  color: #fff;
  min-height: 108px;
  display: flex;
  align-items: center;
}

.gamed-phone-grid {
  display: grid;
  grid-template-columns: 191px 388px 349px;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.gamed-phone-grid h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
}

.gamed-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 55px;
  border-radius: 31px;
  background: #fff;
  padding: 7px 15px;
  font-size: 48px;
  color: var(--gamed-blue-mid);
  font-weight: 700;
  white-space: nowrap;
}

.gamed-phone-grid p {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.gamed-doctors {
  background: #fff;
  padding-top: 46px;
}

.gamed-doctors-grid {
  min-height: 531px;
  display: grid;
  grid-template-columns: minmax(380px, 472px) minmax(420px, 723px);
  align-items: center;
  justify-content: center;
  gap: 43px;
}

.gamed-doctors-copy h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--gamed-blue-dark);
}

.gamed-doctors-copy p {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.31;
  color: var(--gamed-blue-dark);
  max-width: 380px;
}

.gamed-doctors-copy .gamed-pill-btn {
  margin-top: 24px;
  min-width: 191px;
}

.gamed-doctors-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer: site-footer.css + site-footer-mobile.css */

@media (max-width: 1200px) {
  .gamed-container {
    --gamed-container-pad: 24px;
  }

  .gamed-services-grid {
    gap: 28px;
  }

  .gamed-why-grid {
    gap: 34px;
  }

  .gamed-phone-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
    padding: 16px 24px;
  }

  .gamed-phone-link {
    margin: 0 auto;
  }

}

/* Mobile (≤860px): see front-page-mobile.css (Figma 743:59) */

/* Responsive stabilization layer – tablet / small desktop */
@media (max-width: 1260px) and (min-width: 861px) {
  .gamed-container {
    --gamed-container-pad: clamp(16px, 3vw, 28px);
  }

  .gamed-hero {
    position: relative;
    height: auto;
    min-height: clamp(400px, 55vw, 604px);
    overflow: hidden;
  }

  .gamed-hero .gamed-container {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 46vw);
    grid-template-areas:
      "header header"
      "copy .";
    align-items: center;
    gap: 18px 0;
    min-height: clamp(400px, 55vw, 604px);
    height: auto;
    padding-bottom: clamp(24px, 4vw, 40px);
    overflow: visible;
  }

  .gamed-home .gamed-site-header {
    grid-area: header;
    align-self: start;
  }

  .gamed-hero-grid {
    grid-area: copy;
    display: block;
    min-height: 0;
    align-self: center;
  }

  .gamed-hero-copy {
    max-width: min(560px, 100%);
    padding-top: clamp(32px, 5vw, 56px);
    padding-bottom: clamp(24px, 4vw, 48px);
  }

  .gamed-hero-image {
    grid-area: unset;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: clamp(320px, 52vw, 800px);
    height: auto;
    overflow: hidden;
    margin-right: 0;
    z-index: 1;
    transform: translateX(clamp(0px, (1260px - 100vw) * 0.45, 280px));
  }

  .gamed-hero-image img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: left center;
  }

  .gamed-services-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: clamp(16px, 2.4vw, 30px);
  }

  .gamed-service-card {
    min-height: 0;
    padding: 22px clamp(18px, 2vw, 32px);
  }

  .gamed-why-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }

  .gamed-phone-grid {
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.2fr) minmax(220px, 1fr);
    gap: clamp(16px, 3vw, 28px);
  }
}

