/* =========================================================
   FONT FACE (exact from test.css)
========================================================= */

@font-face {
  font-family: "PT Sans Caption";
  font-style: normal;
  font-weight: 400;
  src:
    local("PT Sans Caption"),
    local("PTSans-Caption"),
    url("ptsanscaption.woff") format("woff");
}

@font-face {
  font-family: MyriadSetProLight;
  src: url("../fonts/myriad-set-pro_ultralight.ttf");
}

@font-face {
  font-family: MyriadSetProThin;
  src: url("../fonts/myriad-set-pro_thin.ttf");
}

@font-face {
  font-family: MyriadSetProText;
  src: url("../fonts/myriad-set-pro_text.ttf");
}

@font-face {
  font-family: "ZonaPro-Thin";
  src: url(../fonts/ZonaPro-Thin.otf);
}

@font-face {
  font-family: "ZonaPro-Bold";
  src: url(../fonts/ZonaPro-Bold.otf);
}

/*@font-face { font-family: MyriadSetProNormal; src: url('../fonts/myriad-set-pro_medium.ttf'); }
  @font-face { font-family: MyriadSetProSBold; src: url('../fonts/myriad-set-pro_semibold.ttf'); }*/
@font-face {
  font-family: Billy;
  src: url("../fonts/billy.ttf");
}

/* =========================================================
     DESIGN TOKENS
  ========================================================= */

:root {
  /* Fonts (legacy test.css stacks) */
  --font-header: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;

  /* Headings */
  --h1: 40px;
  --h2: 36px;
  --h3: 36px;

  /* Hero text */
  --hero-subtext: 32px;
  --hero-subtext-sm: 20px;

  /* Navigation */
  --menu-main: 22px;
  --menu-sm: 16px;

  /* Paragraphs */
  --p-standalone: 40px;
  --p-box: 32px;

  /* Lists */
  --tech-list: 32px;
  --tech-list-mobile: 20px;

  /* Page layout (mast, section-title, content pages) */
  --page-container-max: 1280px;
  --page-space-sm: 10px;
  --page-space: 20px;
  --page-space-md: 30px;
  --page-space-lg: 40px;
  --page-space-inline: 15px;
  --page-font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-font-hero: MyriadSetProThin, Arial, sans-serif;
  --page-color-title: #1e1e1e;
  --page-color-sub: #666;
  --btn-cta-bg: #7dc36b;
  --btn-cta-bg: #00a651;
  --btn-cta-bg-hover: #5eb348;
  --btn-cta-bg-hover: #008f46;
  --caution-bg: #ffe37e;
}

/* =========================================================
     GLOBAL BASE (BOOTSTRAP SAFE)
  ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
  zoom: 1;
}

/* Media defaults */
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================================================
     TYPOGRAPHY CLASSES (MOBILE FIRST)
  ========================================================= */

/* Headings */
.type-h1 {
  font-family: var(--font-header);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.6em;
}

.type-h2 {
  font-family: var(--font-header);
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

.type-h3 {
  font-family: var(--font-header);
  font-size: var(--h3);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

/* UI / Navigation */
.type-menu-main {
  font-family: var(--font-ui);
  font-size: var(--menu-main);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.type-menu-sm {
  font-family: var(--font-ui);
  font-size: var(--menu-sm);
  font-weight: 400;
}

/* Hero text */
.type-hero-subtext {
  font-family: var(--font-ui);
  font-size: var(--hero-subtext);
  font-weight: 400;
  line-height: 1.25;
}

.type-hero-subtext-sm {
  font-family: var(--font-ui);
  font-size: var(--hero-subtext-sm);
  font-weight: 400;
  line-height: 1.35;
}

/* Paragraphs */
.type-standalone {
  font-family: var(--font-body);
  font-size: var(--p-standalone);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.75em;
}

.type-box-paragraph {
  font-family: var(--font-body);
  font-size: var(--p-box);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

/* Emphasis inside paragraphs */
.type-box-paragraph strong {
  font-weight: 500;
}

.type-box-paragraph em {
  font-style: italic;
}

/* Tech spec list */
.type-tech-list {
  font-family: var(--font-ui);
  font-size: var(--tech-list);
  font-weight: 500;
  line-height: 1.35;
}


.pad-top{
  padding-top: var(--page-space);
}
.mar-top{
  margin-top: var(--page-space);
}

/* =========================================================
     RESPONSIVE TYPOGRAPHY ADJUSTMENTS
  ========================================================= */

.h1-big-header {
  font-family: var(--page-font-hero);
  font-family: var(--font-header);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.1;
  color: #fafafa;
  color: #454545;
  /* text-shadow: 2px 2px 4px #232323; */
  font-size: 6.25rem;
  padding-top: 0.15em;
}

@media (max-width: 576px) {
  .type-h1 {
    font-size: 32px;
  }

  .type-h2,
  .type-h3 {
    /* font-size: 28px; */
    font-size: 1.125em;
  }

  .type-standalone {
    font-size: 28px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.125em;
  }

  .h1-big-header {
    font-size: clamp(50px, calc(50px + 50 * (100vw - 320px) / 256), 100px);
    /* Scaled version using rem for better accessibility */
    font-size: clamp(3.125rem, 19.53vw - 0.78rem, 6.25rem);
  }
}

.h3,
h3 {
  font-size: 32px;
}

p {
  /* font-size: 24px; */
  font-size: 1em;
}

.form-control {
  font-size: 24px;
}

.form-label {
  font-size: 1.25em;
}

/* New responsive header styles */

/* ===== Base ===== */
.site-header {
  background: #fff;
}

/* Header top */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: white;
}

/* Left / Right wrappers */
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Icons */
.icon-company img,
.icon-product img {
  width: 36px;
  width: auto;
  height: 36px;
  object-fit: contain;
}

/* Inline links */
.header-inline-links .gap-3 {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.header-inline-links a {
  color: #111;
  color: #ffffff;
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #111;
  background: #ffffff;
  border-radius: 2px;
}

/* Visibility helpers */
.desktop-only {
  display: none;
}

.mobile-only {
  display: flex;
}

/* Desktop nav (hidden on mobile) */
.header-nav {
  display: none;
  background: #fff;
  background: #e7e7e7;
}

.nav-inner {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding: 12px 16px;
  font-size: 14px;
}

.nav-inner a {
  color: #000;
  text-decoration: none;
}

.header-top-wrap {
  background: linear-gradient(#07457e, #084f91);
  /* blue */
  width: 100%;
}

.header-nav {
  background: #e7e7e7;
}

@media (max-width: 768px) {
  body {
    padding-top: var(--header-top-h, 64px);
  }

  .mb-view.d-md-none {
    display: block !important;
  }

  .main-view.d-md-inline-flex,
  .main-menu-view.d-md-block {
    display: none !important;
  }
}

.main-menu-view.d-md-block {
  font-size: 14px;
}

@media (min-width: 769px) {
  body {
    padding-top: 92px;
  }

  .d-md-none {
    display: none !important;
  }

  .main-view.d-md-inline-flex {
    display: inline-flex !important;
  }
}

/* Offcanvas dropdown below header */
.offcanvas.offcanvas-top.custom-offcanvas-top {
  top: var(--header-top-h, 64px) !important;

  --bs-offcanvas-height: 295px !important;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

  background: linear-gradient(#084f91, #084f91);
  color: white;
}

/* Backdrop should not cover header */
.offcanvas-backdrop.show {
  top: var(--header-top-h, 64px) !important;
  height: calc(100dvh - var(--header-top-h, 64px)) !important;
}

.offcanvas.offcanvas-top.custom-offcanvas-top .offcanvas-body {
  overflow-y: auto;
}

.offcanvas.custom-offcanvas-top {
  align-items: flex-end;
}

.custom-offcanvas-top .nav-link {
  color: #ffffff;
  text-align: right;
}

.nav-link.active {
  font-weight: 600;
  color: #b0c9ee;
  padding-left: 12px;
  text-decoration: underline;
}

/* =========================================================
   MODERN HEADER — single dark blue bar, logo left, nav right,
   dropdowns for Professionals, Patient, Store
========================================================= */

.site-header--modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: transparent;
}

.site-header--modern .header-modern-bar {
  background: #003366;
  background: linear-gradient(180deg, #07457e 0%, #084f91 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header--modern .header-modern-container {
  max-width: var(--page-container-max, 1280px);
  margin: 0 auto;
  padding: 0 var(--page-space-inline, 15px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

/* .site-header--modern .header-modern-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(
    --page-font-heading,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif
  );
  line-height: 1.1;
} 

.site-header--modern .header-logo-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 2px;
}

.site-header--modern .header-logo-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.site-header--modern .header-logo-sub {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}
*/

.site-header--modern .header-modern-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header--modern .header-modern-logo-img {
  display: block;
  height: 60px;
  width: auto;
  max-height: 64px;
  object-fit: contain;
}

.site-header--modern .header-modern-nav {
  gap: 8px;
}

.site-header--modern .header-nav-link {
  display: inline-block;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.site-header--modern .header-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-header--modern .header-nav-link.active {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
}

.site-header--modern .header-dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 0.2em;
}

.site-header--modern .header-dropdown-menu {
  margin-top: 4px;
  padding: 8px 0;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header--modern .header-dropdown-menu .dropdown-item {
  padding: 10px 16px;
  font-size: 0.9375rem;
}

.site-header--modern .header-dropdown-menu .dropdown-item:hover {
  background: #f0f7ff;
}

.site-header--modern .header-modern-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.site-header--modern .header-modern-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header--modern .header-modern-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Modern header offcanvas (mobile) */
.site-header--modern .header-offcanvas {
  top: 56px !important;
  height: auto !important;
  max-height: calc(100dvh - 56px);
  background: linear-gradient(180deg, #084f91 0%, #07457e 100%);
  color: #fff;
}

.site-header--modern .header-offcanvas .offcanvas-body {
  padding: 16px;
}

.site-header--modern .header-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-header--modern .header-mobile-link {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.site-header--modern .header-mobile-link:hover,
.site-header--modern .header-mobile-link.active {
  color: #fff;
  font-weight: 600;
}

.site-header--modern .header-mobile-sublink {
  display: block;
  padding: 10px 0 10px 20px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-header--modern .header-mobile-sublink:hover {
  color: #fff;
}

.site-header--modern .header-mobile-dropdown .collapse {
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
}

/* Body padding when modern header is fixed */
body:has(.site-header--modern) {
  padding-top: 56px;
  --header-top-h: 56px;
}

/* ===== Mobile breakpoint ===== */

@media (max-width: 500px) {
  .header-inline-links .gap-3 {
    font-size: 13px;
  }
}

@media (max-width: 425px) {
  .header-inline-links .gap-3 {
    font-size: 13px;
    gap: 7px !important;
  }
}

@media (max-width: 390px) {
  .header-inline-links .gap-3 {
    font-size: 12px;
    gap: 5px !important;
  }
}

@media (max-width: 360px) {
  .header-inline-links .gap-3 {
    font-size: 10px;
    gap: 5px !important;
  }
}

@media (max-width: 320px) {
  .header-inline-links .gap-3 {
    font-size: 10px;
    color: #ffffff;
  }

  .icon-company img,
  .icon-product img {
    width: 36px;
    width: auto;
    height: 24px;
    object-fit: contain;
  }
}

@media (max-width: 290px) {
  .header-inline-links .gap-3 {
    font-size: 8px;
    color: #ffffff;
  }

  .icon-company img,
  .icon-product img {
    width: 36px;
    width: auto;
    height: 24px;
    object-fit: contain;
  }
}

/* ===== Desktop breakpoint ===== */

/* =========================================================
     SPRY HERO — MOBILE FIRST
  ========================================================= */

.hero-spry {
  width: 100%;
  padding: 40px 0;
  background: linear-gradient(135deg, #6fc6ee 0%, #bfe7f4 55%, #e9f6f2 100%);
}

/* Stack everything naturally */
.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Text block */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Logo */
.hero-logo {
  max-width: 240px;
  height: auto;
}

/* Description text */
.hero-description {
  max-width: 100%;
}

/* Image */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Support block */
.hero-support {
  background: rgba(0, 86, 150, 0.75);
  color: #ffffff;
  padding: 16px;
}

@media (min-width: 992px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero-text,
  .hero-support {
    max-width: 520px;
  }

  .hero-media {
    flex: 1;
  }
}

/* =========================================================
     SPRY HERO — MOBILE (EXACT MATCH)
  ========================================================= */

.spry-hero {
  width: 100%;
  /* padding: 32px 0 40px; */
  /* background: linear-gradient(135deg, #6fc6ee 0%, #bfe7f4 55%, #e9f6f2 100%); */
}

/* Logo */
.spry-logo {
  margin-bottom: 0.625em;
}

/* Description text */
.spry-description {
  max-width: 100%;
  margin-bottom: 24px;
}

/* Image wrapper */
.spry-image-wrap {
  position: relative;
  width: 100%;
}

/* Main image */
.spry-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Blue overlay block */
.spry-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 86, 150, 0.85);
  color: #ffffff;
  padding: 16px 18px;
}

.hero-spry-img-wrapper {
  background: url("../images/spry-tms-with-model-sm.png") no-repeat;
  padding-bottom: 20px;
  background-position: right -62px top 75px;
  padding-bottom: 20px;
  background-size: 140%;

  background-position: right -4rem top 4.5rem;
  padding-bottom: 1.5rem;
  background-size: 140%;
}

.spry-overlay-text {
  color: #ffffff;
  border-radius: 5px;
  padding: 16px 18px;
  background: linear-gradient(to right,
      #07457e 0%,
      #084f91 50%,
      transparent 100%);
  border-radius: 5px;
  border-radius: 30px;
  margin-top: 11em;
}

.spry-hero .container,
.spry-content .container {
  padding: 0;
}

p.spry-description {
  font-size: 1.15rem;
}

/* rTMS hero subtext: same font and color as neuronavigation .mast h2 */
.spry-hero p.type-hero-subtext.spry-description {
  font-family: var(--page-font-hero);
  color: var(--page-color-sub);
}

p.type-hero-subtext-sm {
  font-size: 1rem;
}

.spry-overlay-text .type-hero-subtext-sm {
  padding-left: 15px;
}

.content-img-wrapper {
  background: url("/SPRYTMS/assets/images/spry-tms-device.png") no-repeat;
  background-size: contain;
  background-position: right -12rem bottom;
  padding-bottom: 20px;
}

.overlay-text-box {
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
  border-radius: 40px;
}

.overlay-img {
  float: right;
  margin-top: -6.5rem;
  width: 50%;
}

.btn-blue a.btn-primary.btn-lg {
  border-radius: 0;
  background: #074b88;
  border-color: #074b88;
}

/* Add shadow in form input */
.shadow-input {
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.3);
}

/* Custom select dropdown style */
.custom-select {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 35px;
}

#spry-request-form label {
  margin-bottom: 0;
}

.spry-form .btn-primary {
  background: #006dce;
}


/* Container that simulates two-tone select */
.custom-select-box {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

/* The select itself */
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 40px 10px 12px;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(to right, #d9d9d9 85%, #898989 85%);
  color: #000;
}

/* Custom caret inside the dark area */
.custom-select-box::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #fff;
  pointer-events: none;
}

.cover-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-bundle {
  background: url("../images/spry-tms-bundle-w-model.png") no-repeat;
  background-size: contain;
  background-position: center bottom;
}

.bg-bundle .overlay-text-box {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
}

.overlay-text-box.bundle-txt{
  width: 60%;
}

/* =========================================================
     HEADER – MOBILE FIRST (375px)
  ========================================================= */

@media (max-width: 300px) {
  .h1-big-header {
    font-size: 40px;
  }

  .spry-overlay-text {
    margin-top: 9em !important;
  }
}

@media (max-width: 319px) {
  p {
    font-size: 1rem;
  }

  .hero-spry-img-wrapper {
    background-position: right -4.5rem top 2.5rem;
    background-size: 170%;
    padding-bottom: 1.25rem;
  }

  .spry-overlay-text {
    margin-top: 8.5em;
    margin-top: 11em;
  }

  p.spry-description {
    font-size: 0.85rem;
  }

  p.type-hero-subtext-sm {
    font-size: 0.75rem;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    /* font-size: 32px; */
    font-size: 1.25em;
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
  }

  .pt-5 {
    padding-top: 1.25rem !important;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .mb-5 {
    margin-bottom: 1.25rem !important;
  }

  .h3,
  h3 {
    font-size: 1em;
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
  }

  .btn p {
    font-size: 0.8125rem;
  }

  .overlay-img {
    margin-top: -5.5rem;
  }

  .overlay-img {
    background: url(../images/spry-tms-device-overlay.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 0px bottom;
    height: 166.83px;
    margin-top: -90px;
    width: 50%;
  }
}

@media ((min-width: 320px) and (max-width: 375px)) {
  p {
    font-size: 1rem;
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;

    background-size: 155%;
    padding-bottom: 1.25rem;
    --fluid-y: clamp(45.6px, calc(45.6px + 9.4 * (100vw - 320px) / 55), 56px);
    background-position: right -68.8px top var(--fluid-y);
  }

  .spry-overlay-text {
    margin-top: 135px;
    margin-top: 155px;
    margin-top: clamp(115px, calc(115px + 25 * ((100vw - 320px) / 55)), 140px);
    margin-top: clamp(135px, calc(135px + 20 * ((100vw - 320px) / 55)), 155px);
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
  }

  p.type-hero-subtext-sm {
    font-size: 0.75rem;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
    font-size: clamp(16px, calc(16px + 2 * (100vw - 320px) / 55), 18px);
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
    font-size: clamp(15px, calc(15px + 2 * (100vw - 320px) / 55), 17px);
  }

  .pt-5 {
    padding-top: 1.25rem !important;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .mb-5 {
    margin-bottom: 1.25rem !important;
  }

  .h3,
  h3 {
    font-size: 1em;
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
  }

  .btn p {
    font-size: 0.8125rem;
  }

  .overlay-img {
    background: url(../images/spry-tms-device-overlay.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 0px bottom;
    height: 167.34px;
    height: 196.11px;
    height: clamp(167.34px,
        calc(167.34px + 28.77 * (100vw - 320px) / 55),
        196.11px);
    margin-top: -90px;
    margin-top: -95px;
    margin-top: clamp(-95px, calc(-90px - 5 * (100vw - 320px) / 55), -90px);
    width: 50%;
  }
}

@media ((min-width: 376px) and (max-width: 480px)) {
  p {
    font-size: 1rem;
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 160%;
    padding-bottom: 1.25rem;
    --fluid-y: clamp(56px, calc(56px + 14 * (100vw - 376px) / 104), 70px);
    --fluid-x: clamp(-95px,
        calc(-68.8px - 26.2 * (100vw - 376px) / 104),
        -68.8px);
    background-position: right var(--fluid-x) top var(--fluid-y);
  }

  .spry-overlay-text {
    margin-top: 165px;
    margin-top: 260px;
    margin-top: clamp(150px, calc(150px + 65 * ((100vw - 376px) / 104)), 215px);
    margin-top: clamp(165px, calc(165px + 95 * ((100vw - 376px) / 104)), 260px);
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 18px;
    padding-right: 10px;
  }

  p.type-hero-subtext-sm {
    font-size: 0.875rem;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
    font-size: clamp(18px, calc(16px + 2 * (100vw - 376px) / 105), 20px);
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
    font-size: clamp(17px, calc(16px + 3 * (100vw - 376px) / 105), 20px);
  }

  .pt-5 {
    padding-top: 1.25rem !important;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .mb-5 {
    margin-bottom: 1.25rem !important;
  }

  .h3,
  h3 {
    font-size: 1em;
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
  }

  .btn p {
    font-size: 0.8125rem;
  }

  .overlay-img {
    background: url(../images/spry-tms-device-overlay.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 0px bottom;
    height: 196.64px;
    height: 251.03px;
    height: clamp(196.64px,
        calc(196.64px + 54.39 * (100vw - 376px) / 104),
        251.03px);
    margin-top: -95px;
    margin-top: -105px;
    margin-top: clamp(-105px, calc(-95px - 10 * (100vw - 376px) / 104), -95px);
    width: 50%;
  }
}

@media ((min-width: 576px) and (max-width: 991px)) {

  .container,
  .container-sm {
    max-width: 100%;
  }
}

@media ((min-width: 481px) and (max-width: 575px)) {
  p {
    font-size: 1rem;
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 150%;
    background-size: 145%;
    background-size: clamp(145%, calc(145% + 5 * (100vw - 481px) / 94), 150%) auto;
    padding-bottom: 1.25rem;
    --fluid-x: clamp(-95px,
        calc(-68.8px - 26.2 * (100vw - 376px) / 104),
        -68.8px);
    --fluid-y: clamp(56px, calc(56px + 14 * (100vw - 376px) / 104), 70px);
    background-position: right -85px top 70px;
    background-position: right -85px top 85px;
    --fluid-x: clamp(-95px, calc(-85px - 10 * (100vw - 481px) / 94), -85px);
    --fluid-y: clamp(70px, calc(70px + 15 * (100vw - 481px) / 94), 85px);
    background-position: right var(--fluid-x) top var(--fluid-y);
  }

  .spry-overlay-text {
    margin-top: 180px;
    margin-top: 205px;
    margin-top: 225px;
    margin-top: 255px;
    margin-top: clamp(180px, calc(180px + 25 * ((100vw - 481px) / 94)), 205px);
    margin-top: clamp(225px, calc(225px + 30 * ((100vw - 481px) / 94)), 255px);
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 18px;
    font-size: 24px;
    padding-right: 1.125rem;
    font-size: clamp(18px, calc(18px + 6 * (100vw - 481px) / 94), 24px);
  }

  p.type-hero-subtext-sm {
    font-size: 18px;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
  }

  .pt-5 {
    padding-top: 1.25rem !important;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .mb-5 {
    margin-bottom: 1.25rem !important;
  }

  .h3,
  h3 {
    font-size: 1em;
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
  }

  .btn p {
    font-size: 0.8125rem;
  }

  .overlay-img {
    background: url(../images/spry-tms-device-overlay.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 0px bottom;
    height: 251.55px;
    height: 301.23px;
    height: clamp(251.55px,
        calc(251.55px + 49.68 * (100vw - 481px) / 94),
        300.7px);
    margin-top: -105px;
    margin-top: -110px;
    margin-top: clamp(-110px, calc(-105px - 5 * (100vw - 481px) / 94), -105px);
    width: 50%;
  }
}

@media (max-width: 575px) {
  .coil-img {
    background: none;
  }
}

@media ((min-width: 576px) and (max-width: 767px)) {
  .re-size-adjust.col-sm-8 {
    width: clamp(542px, calc(542px + 13 * (100vw - 576px) / 191), 555px);
  }

  .re-size-adjust.col-sm-7 {
    width: clamp(405px, calc(527px - 122 * (100vw - 576px) / 191), 527px);
    float: right;
  }

  p {
    font-size: 1rem;
    font-size: clamp(16px, calc(16px + 4 * (100vw - 576px) / 191), 20px);
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 130%;
    background-size: clamp(130%,
        calc(150% - (20 * (100vw - 576px) / 191)),
        150%) auto;
    background-size: clamp(130%, 190.24% - 7.85vw, 145%) auto;
    background-size: clamp(835px,
        calc(835px + 165 * (100vw - 576px) / 191),
        1000px) auto;
    padding-bottom: 1.25rem;
    --fluid-x: clamp(-95px, calc(-95px + 55 * (100vw - 576px) / 191), -40px);
    --fluid-y: clamp(85px, calc(85px + 5 * (100vw - 576px) / 191), 90px);
    background-position: right var(--fluid-x) top var(--fluid-y);
  }

  .coil-img-display {
    display: none;
  }

  .coil-img {
    background: url(../images/spry-tms-coil.png) no-repeat;
    background-size: 100%;
    padding-bottom: 240px;
    padding-bottom: 175px;
    padding-bottom: clamp(175px,
        calc(240px - 65 * (100vw - 576px) / 191),
        240px);
    background-position: center bottom 20px;
  }

  .spry-overlay-text {
    margin-top: 275px;
    margin-top: 230px;
    margin-top: 255px;
    margin-top: 305px;
    margin-top: clamp(205px, calc(205px + 25 * ((100vw - 576px) / 191)), 230px);
    margin-top: clamp(255px, calc(255px + 50 * ((100vw - 576px) / 191)), 305px);
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 24px;
    font-size: 32px;
    padding-right: 1.125rem;
    padding-right: 4.5rem;
    font-size: clamp(24px, calc(24px + 8 * (100vw - 576px) / 191), 32px);
    padding-right: clamp(18px, calc(18px + 54 * (100vw - 576px) / 191), 72px);
  }

  p.type-hero-subtext-sm {
    font-size: 18px;
    font-size: 20px;
    font-size: clamp(18px, calc(18px + 2 * (100vw - 576px) / 191), 20px);
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
  }

  .pt-5 {
    padding-top: 1.25rem !important;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-top: clamp(16px,
        calc(16px + 16 * (100vw - 576px) / 191),
        32px) !important;
    padding-bottom: clamp(16px,
        calc(16px + 16 * (100vw - 576px) / 191),
        32px) !important;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-left: clamp(16px,
        calc(16px + 16 * (100vw - 576px) / 191),
        32px) !important;
    padding-right: clamp(16px,
        calc(16px + 16 * (100vw - 576px) / 191),
        32px) !important;
  }

  .mb-5 {
    margin-bottom: 1.25rem !important;
  }

  .h3,
  h3 {
    font-size: 2rem;
    font-size: clamp(1rem, calc(1rem + 1 * (100vw - 576px) / 191), 2rem);
    font-size: clamp(16px, calc(16px + 16 * (100vw - 576px) / 191), 32px);
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
    font-size: 1.625rem;
    font-size: clamp(1rem,
        calc(1rem + 0.625 * (100vw - 576px) / 191),
        1.625rem);
    font-size: clamp(1rem, 3.509rem - 5.236vw, 1.625rem);
    font-size: clamp(16px, calc(16px + 10 * (100vw - 576px) / 191), 26px);
  }

  .btn p {
    font-size: 0.8125rem;
    font-size: 1.25rem;
    font-size: clamp(13px, calc(13px + 7 * (100vw - 576px) / 191), 20px);
  }

  .overlay-img {
    background: url(../images/spry-tms-device-overlay.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 0px bottom;
    height: 301.23px;
    height: 401.13px;
    height: clamp(301.23px,
        calc(301.23px + 99.9 * (100vw - 576px) / 191),
        401.13px);
    margin-top: -110px;
    margin-top: -230px;
    margin-top: clamp(-230px,
        calc(-105px - 120 * (100vw - 576px) / 191),
        -110px);
    width: 50%;
  }
}

@media (max-width: 507px) {
  .overlay-text-box-content-wrapper {
    margin-bottom: 43%;
  }
}

@media (max-width: 767px) {
  .plus-icon {
    display: none;
  }
}

@media (min-width: 508px) and (max-width: 767px) {
  .icon-wrapper {
    display: flex;
    flex-direction: column;
  }

  .overlay-text-box-content-wrapper {
    width: 450px;
    width: 675px;
    width: 400px;
    width: 480px;
    width: clamp(400px, calc(400px + 80 * (100vw - 508px) / 259), 480px);
    margin-bottom: 43%;
    margin: auto auto 43%;
  }
}

@media ((min-width: 768px) and (max-width: 991px)) {
  .lg-txt-center {
    text-align: center;
  }

  .overlay-text-box-content-wrapper {
    margin-bottom: 43%;
  }

  .re-size-adjust.col-sm-7 {
    width: 405px;
    width: 531px;
    width: clamp(405px, calc(405px + 126 * (100vw - 768px) / 223), 531px);
    float: right;
  }

  p {
    font-size: 20px;
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 1000px;
    padding-bottom: 1.25rem;
    background-position: right 0px top 90px;
    /* background-position: right -30px top 90px; */
  }

  .spry-overlay-text-wrapper {
    max-width: 80%;
    max-width: 752px;
    max-width: 806px;
    max-width: clamp(752px, calc(752px + 54 * (100vw - 768px) / 223), 806px);
  }

  .coil-img-display {
    display: none;
  }

  .coil-img {
    background: url(../images/spry-tms-coil.png) no-repeat;
    background-size: 100%;
    padding-bottom: 240px;
    padding-bottom: 175px;
    padding-bottom: clamp(175px,
        calc(175px + 50 * (100vw - 768px) / 256),
        225px);
    background-position: center bottom 20px;
  }

  .spry-overlay-text {
    margin-top: 180px;
    margin-top: 205px;
    margin-top: 275px;
    margin-top: 230px;
    margin-top: 305px;
    margin-top: 265px;
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 24px;
    font-size: 32px;
    padding-right: 1.125rem;
    padding-right: 4.5rem;
    padding-right: 113px;
  }

  .overlay-text-box {
    background: rgba(255, 255, 255, 0.54);
    color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(0px);
  }

  p.type-hero-subtext-sm {
    font-size: 18px;
    font-size: 20px;
    width: 550px;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
  }

  .h3,
  h3 {
    font-size: 2rem;
    font-size: 32px;
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
    font-size: 1.625rem;
    font-size: 26px;
  }

  .btn p {
    font-size: 0.8125rem;
    font-size: 1.25rem;
    font-size: 20px;
  }

  .overlay-img {
    background: url(../images/spry-tms-device.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 20px bottom;
    height: 247px;
    height: 333px;
    height: clamp(247px, calc(247px + 75 * (100vw - 768px) / 223), 322px);
    margin-top: -165px;
    margin-top: -200px;
    margin-top: clamp(-195px,
        calc(-165px - 30 * (100vw - 768px) / 223),
        -165px);
    width: 348px;
    width: 468px;
    width: clamp(348px, calc(348px + 94.5 * (100vw - 768px) / 223), 442.5px);
  }

  .bg-bundle {
    background: url(../images/spry-tms-bundle-w-model.png) no-repeat;
    background-size: 100%;
    background-position: center bottom;
  }

  .icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    justify-content: center;
    gap: 25px;
  }

  .overlay-text-box-content-wrapper {
    width: 430px;
    width: 550px;
    width: clamp(430px, calc(430px + 120 * (100vw - 768px) / 256), 550px);
    margin-bottom: 44%;
    margin-bottom: 325px;
    margin-bottom: 46%;
    margin-bottom: 460px;
    margin: auto auto;
    margin-bottom: clamp(325px,
        calc(325px + 117.5 * (100vw - 768px) / 223),
        442.5px);
  }

  .icon-wrapper img {
    width: 40%;
  }

  .plus-icon {
    font-weight: bold;
    font-size: 50px;
  }
}

@media (min-width: 785px) and (max-width: 801px) {
  p.spry-description {
    padding-right: 100px !important;
  }
}

@media ((min-width: 785px) and (max-width: 950px)) {
  .spry-overlay-text {
    margin-top: 305px !important;
  }
}



@media ((min-width: 951px) and (max-width: 991px)) {
  .spry-overlay-text {
    margin-top: 345px !important;
  }

  p.spry-description {
    padding-right: 100px !important;
  }
}


@media ((min-width: 992px) and (max-width: 1024px)) {
  .lg-txt-center {
    text-align: center;
  }

  .overlay-text-box-content-wrapper {
    margin-bottom: 43%;
  }

  .re-size-adjust.col-sm-8 {
    width: 590px;
  }

  .re-size-adjust.col-sm-7 {
    width: 405px;
    width: 550px;
    width: 515px;
    float: right;
  }

  p {
    font-size: 1rem;
    font-size: clamp(16px, calc(16px + 4 * (100vw - 576px) / 191), 20px);
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 1000px;
    padding-bottom: 1.25rem;
    background-position: right 0px top 90px;
  }

  .spry-overlay-text-wrapper {
    max-width: 80%;
    max-width: 752px;
    max-width: 806px;
    max-width: clamp(752px, calc(752px + 54 * (100vw - 768px) / 256), 806px);
  }

  .coil-img-display {
    display: none;
  }

  .coil-img {
    background: url(../images/spry-tms-coil.png) no-repeat;
    background-size: 100%;
    padding-bottom: 240px;
    padding-bottom: 175px;
    padding-bottom: 210px;
    background-position: center bottom 20px;
  }

  .spry-overlay-text {
    margin-top: 180px;
    margin-top: 205px;
    margin-top: 275px;
    margin-top: 230px;
    margin-top: 345px;
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 24px;
    font-size: 32px;
    padding-right: 1.125rem;
    padding-right: 4.5rem;
    padding-right: 113px;
    padding-right: 100px;
  }

  .overlay-text-box {
    background: rgba(255, 255, 255, 0.54);
    color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(0px);
  }

  p.type-hero-subtext-sm {
    font-size: 18px;
    font-size: 20px;
    font-size: clamp(18px, calc(18px + 2 * (100vw - 576px) / 191), 20px);
    width: 65%;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
  }

  .h3,
  h3 {
    font-size: 2rem;
    font-size: clamp(1rem, calc(1rem + 1 * (100vw - 576px) / 191), 2rem);
    font-size: clamp(16px, calc(16px + 16 * (100vw - 576px) / 191), 32px);
  }

  .pt-5 {
    font-size: 1.25em !important;
  }

  .spry-content p {
    font-size: 1rem;
    font-size: 1.625rem;
    font-size: clamp(1rem,
        calc(1rem + 0.625 * (100vw - 576px) / 191),
        1.625rem);
    font-size: clamp(1rem, 3.509rem - 5.236vw, 1.625rem);
    font-size: clamp(16px, calc(16px + 10 * (100vw - 576px) / 191), 26px);
  }

  .btn p {
    font-size: 0.8125rem;
    font-size: 1.25rem;
    font-size: clamp(13px, calc(13px + 7 * (100vw - 576px) / 191), 20px);
  }

  .overlay-img {
    background: url(../images/spry-tms-device.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 20px bottom;
    height: 247px;
    height: 333px;
    margin-top: -165px;
    margin-top: -200px;
    width: 348px;
    width: 468px;
  }

  .bg-bundle {
    background: url(../images/spry-tms-bundle-w-model.png) no-repeat;
    background-size: 100%;
    background-position: center bottom;
  }

  .icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    justify-content: center;
    gap: 25px;
  }

  .overlay-text-box-content-wrapper {
    width: 430px;
    width: 550px;
    width: clamp(430px, calc(430px + 120 * (100vw - 768px) / 256), 550px);
    margin-bottom: 44%;
    margin-bottom: 325px;
    margin-bottom: 46%;
    margin-bottom: 460px;
    margin: auto auto;
    margin-bottom: clamp(325px,
        calc(325px + 135 * (100vw - 768px) / 256),
        460px);
  }

  .icon-wrapper img {
    width: 40%;
  }

  .plus-icon {
    font-weight: bold;
    font-size: 50px;
  }
}

@media ((min-width: 1025px) and (max-width: 1199px)) {
  .lg-txt-center {
    text-align: center;
  }

  .overlay-text-box-content-wrapper {
    margin-bottom: 43%;
  }

  .re-size-adjust.col-sm-8 {
    width: 593px;
    width: 950px;
    width: 825px;
    width: 535px;
    width: clamp(535px, calc(593px - 57 * (100vw - 1025px) / 174), 593px);
  }

  p.spry-description {
    font-size: 32px;
    padding-right: 113px;
    padding-right: 100px;
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 130%;
    background-size: clamp(130%,
        calc(150% - (20 * (100vw - 576px) / 191)),
        150%) auto;
    background-size: 100% auto;
    background-size: clamp(835px,
        calc(835px + 165 * (100vw - 576px) / 191),
        1000px) auto;
    background-size: 1000px auto;
    padding-bottom: 1.25rem;
    background-position: right 0px top 90px;
    background-position: right 0px top 20px;
    --fluid-y: clamp(20px, calc(90px - 70 * (100vw - 1025px) / 415), 90px);
    background-position: right 0px top var(--fluid-y);
  }

  .overlay-img {
    background: url(../images/spry-tms-device.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 20px bottom;
    height: 247px;
    height: 333px;
    height: 461px;
    height: 397px;
    height: clamp(333px, calc(333px + 64 * (100vw - 1025px) / 174), 397px);
    margin-top: -200px;
    margin-top: -250px;
    margin-top: -225px;
    margin-top: -205px;
    margin-top: clamp(-230px,
        calc(-205px - 25 * (100vw - 1025px) / 174),
        -205px);
    width: 348px;
    width: 468px;
    width: 558px;
    width: clamp(468px, calc(468px + 90 * (100vw - 1025px) / 174), 558px);
  }

  .re-size-adjust.col-sm-7 {
    width: 405px;
    width: 550px;
    width: 515px;
    float: right;
  }

  .coil-img-display {
    display: none;
  }

  .coil-img {
    background: url(../images/spry-tms-coil.png) no-repeat;
    background-size: 100%;
    padding-bottom: 240px;
    padding-bottom: 175px;
    padding-bottom: 210px;
    background-position: center bottom 20px;
  }

  .type-h1 {
    font-size: 36px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
    font-size: 1.625em;
    font-size: clamp(20px, calc(20px + 6 * (100vw - 1025px) / 174), 26px);
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
    font-size: 1.5em;
    font-size: clamp(20px, calc(20px + 4 * (100vw - 1025px) / 174), 24px);
  }

  .overlay-text-box-content-wrapper {
    width: 430px;
    width: 550px;
    margin-bottom: 44%;
    margin-bottom: 325px;
    margin-bottom: 46%;
    margin: auto auto;
    margin-bottom: 460px;
    margin-bottom: 545px;
    margin-bottom: clamp(460px,
        calc(460px + 135 * (100vw - 1025px) / 174),
        545px);
    margin-top: 35px;
    margin-top: 65px;
    margin-top: clamp(35px, calc(35px + 30 * (100vw - 1025px) / 174), 65px);
  }

  .spry-overlay-text-wrapper {
    max-width: 80%;
    max-width: 752px;
    max-width: 806px;
    max-width: clamp(752px, calc(752px + 54 * (100vw - 768px) / 256), 806px);
  }

  .spry-overlay-text {
    margin-top: 230px;
    margin-top: 200px;
    margin-top: 345px;
    margin-top: 315px;
    margin-top: clamp(200px,
        calc(230px - 30 * ((100vw - 1025px) / 174)),
        230px);
    margin-top: clamp(315px,
        calc(345px - 30 * ((100vw - 1025px) / 174)),
        345px);
    margin-bottom: 0px;
    margin-bottom: 40px;
    margin-bottom: clamp(0px, calc(0px + 40 * ((100vw - 1025px) / 174)), 40px);
  }

  .overlay-text-box {
    background: rgba(255, 255, 255, 0.54);
    color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(0px);
  }

  p.type-hero-subtext-sm {
    font-size: 20px;
    width: 50%;
    width: 65%;
  }

  .bg-bundle {
    background: url(../images/spry-tms-bundle-w-model.png) no-repeat;
    background-size: auto 100%;
    background-position: center bottom;
  }

  .icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    justify-content: center;
    gap: 25px;
  }

  .icon-wrapper img {
    width: 40%;
  }

  .plus-icon {
    font-weight: bold;
    font-size: 50px;
  }
}

@media ((min-width: 1200px)) {
  .lg-txt-center {
    text-align: center;
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 24px;
    font-size: 32px;
    padding-right: 1.125rem;
    padding-right: 113px;
    padding-right: 220px;
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 100% auto;
    padding-bottom: 1.25rem;
    background-position: right 0px top 20px;
  }

  .spry-overlay-text-wrapper {
    max-width: 80%;
    max-width: 752px;
    max-width: 806px;
    max-width: clamp(752px, calc(752px + 54 * (100vw - 768px) / 256), 806px);
  }

  .re-size-adjust.col-sm-7 {
    width: 405px;
    width: 550px;
    width: 618px;
    float: right;
  }

  .coil-img-display {
    display: none;
  }

  .coil-img {
    background: url(../images/spry-tms-coil.png) no-repeat;
    background-size: 100%;
    padding-bottom: 240px;
    padding-bottom: 248px;
    background-position: center bottom 20px;
  }

  .spry-overlay-text {
    margin-top: 165px;
    margin-top: 260px;
    margin-top: 345px;
    margin-bottom: 0px;
    margin-bottom: 40px;
  }

  .overlay-text-box {
    background: rgba(255, 255, 255, 0.54);
    color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(0px);
  }

  p.type-hero-subtext-sm {
    font-size: 18px;
    font-size: clamp(18px, calc(18px + 2 * (100vw - 576px) / 191), 20px);
    font-size: 20px;
    width: 50%;
    width: 70%;
  }

  .btn p {
    font-size: 0.8125rem;
    font-size: 1.25rem;
    font-size: clamp(13px, calc(13px + 7 * (100vw - 576px) / 191), 20px);
  }

  .re-size-adjust.col-sm-8 {
    width: 593px;
    width: 950px;
    width: 825px;
    width: 715px;
  }

  .overlay-img {
    background: url(../images/spry-tms-device.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 20px bottom;
    height: 397px;
    margin-top: -225px;
    width: 558px;
  }

  .bg-bundle {
    background: url(../images/spry-tms-bundle-w-model.png) no-repeat;
    background-size: contain;
    background-position: center bottom;
  }

  .overlay-text-box-content-wrapper {
    margin: auto auto;
    margin-top: 30px;
    margin-bottom: 510px;
    width: 650px;
  }

  .icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    justify-content: center;
    gap: 25px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
    font-size: 1.625em;
    font-size: clamp(26px, calc(26px + 6 * (100vw - 1200px) / 199), 32px);
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
    font-size: 1.5em;
    font-size: clamp(24px, calc(24px + 4 * (100vw - 1200px) / 199), 28px);
  }

  .icon-wrapper img {
    width: 40%;
  }

  .plus-icon {
    font-weight: bold;
    font-size: 50px;
  }
}

@media ((min-width: 1400px)) {
  .lg-txt-center {
    text-align: center;
  }

  p.spry-description {
    font-size: clamp(0.96875rem, 0.06rem + 4.55vw, 1.125rem);
    font-size: 24px;
    font-size: 36px;
    padding-right: 1.125rem;
    padding-right: 113px;
    padding-right: 220px;
  }

  .spry-overlay-text {
    margin-top: 165px;
    margin-top: 330px;
    margin-top: 420px;
    margin-bottom: 0px;
    margin-bottom: 40px;
    margin-bottom: clamp(40px, calc(40px + 30 * ((100vw - 1400px) / 40)), 70px);
  }

  .hero-spry-img-wrapper {
    background: url("../images/spry-tms-with-model-sm.png") no-repeat;
    background-size: 100% auto;
    padding-bottom: 1.25rem;
    background-position: right 0px top 20px;
  }

  p.type-hero-subtext-sm {
    font-size: 18px;
    font-size: clamp(18px, calc(18px + 2 * (100vw - 576px) / 191), 20px);
    font-size: 26px;
    width: 80%;
  }

  .spry-overlay-text-wrapper {
    max-width: 80%;
    max-width: 752px;
    max-width: 950px;
  }

  .re-size-adjust.col-sm-7 {
    width: 405px;
    width: 550px;
    width: 718px;
    float: right;
  }

  .coil-img-display {
    display: none;
  }

  .coil-img {
    background: url(../images/spry-tms-coil.png) no-repeat;
    background-size: 100% auto;
    padding-bottom: 240px;
    padding-bottom: 286px;
    background-position: center bottom 20px;
  }

  .re-size-adjust-padding {
    padding: 48px !important;
  }

  .overlay-text-box {
    background: rgba(255, 255, 255, 0.54);
    color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(0px);
  }

  .btn p {
    font-size: 1.25rem;
  }

  .re-size-adjust.col-sm-8 {
    width: 830px;
  }

  .overlay-img {
    background: url(../images/spry-tms-device.png) no-repeat;
    background-size: 100% 100%;
    background-position: right 20px bottom;
    height: 461px;
    margin-top: -250px;
    width: 648px;
  }

  .bg-bundle {
    background: url(../images/spry-tms-bundle-w-model.png) no-repeat;
    background-size: contain;
    background-position: center bottom;
  }

  .overlay-text-box-content-wrapper {
    margin: auto auto;
    margin-top: 30px;
    margin-top: 10px;
    margin-bottom: 510px;
    width: 650px;
  }

  .icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    justify-content: center;
    gap: 25px;
  }

  .type-h2,
  .type-h3 {
    font-size: 1.25em;
    font-size: 1.625em;
    font-size: clamp(26px, calc(26px + 6 * (100vw - 1200px) / 199), 32px);
  }

  .type-standalone {
    font-size: 32px;
  }

  .type-tech-list {
    font-size: var(--tech-list-mobile);
    font-weight: 400;
  }

  .type-box-paragraph {
    font-size: 1.25em;
    font-size: 1.5em;
    font-size: clamp(24px, calc(24px + 4 * (100vw - 1200px) / 199), 28px);
  }

  .icon-wrapper img {
    width: 40%;
  }

  .plus-icon {
    font-weight: bold;
    font-size: 50px;
  }
}

.coil-sec-set-bg {
  background: #c9f1ff;
  background: linear-gradient(180deg, #1384c1 0%, #b7e6ff 37.5%, #fff 100%);
}

.coil-sec-set-bg p {
  font-size: 24px;
}

.overlay-text-box.coil-set-bg {
  color: white;
  background: #074b88;
  opacity: 0.75;
}

.alert {
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert.fade-ease-out {
  opacity: 0;
  transform: translateY(-12px);
}

.alert {
  position: relative;
  padding-right: 3rem;
}

.alert .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

/* =========================================================
   PAGE CONTENT — mast, section-title, section-header layout
   Variables in :root; semantic class names; scoped under .page-content
========================================================= */

.page-container {
  max-width: var(--page-container-max);
  margin-inline: auto;
  padding-inline: var(--page-space-inline);
  position: relative;
}

.page-section {
  padding-block: var(--page-space);
}

.page-section+.page-section {
  padding-top: var(--page-space);
}

.neuronavigation-page p {
  color: #565a5c;
}
.neuronavigation-page .section-block p{
  font-size: 1.275em;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Mast (hero) */
.mast {
  margin-block: var(--page-space);
  text-align: center;
}

.mast h1 {
  font-family: var(--page-font-hero);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 42px);
  line-height: 1;
  color: var(--page-color-title);
  margin: -0.3em 0 var(--page-space-sm) 0;
}

.mast h2 {
  font-family: var(--page-font-hero);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 32px);
  line-height: 1.375;
  color: var(--page-color-sub);
  margin: 0;
  padding-inline: var(--page-space);
}

.mast-img {
  width: 100%;
  margin-block: var(--page-space);
}

.mast-img img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 290px;
}

.mast .tm {
  position: relative;
  bottom: 0.4em;
  font-size: 0.6em;
}

/* Section title + subheading (section-header groups these) */
.section-title {
  font-family: var(--page-font-heading);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 32px);
  color: var(--page-color-title);
  margin: 0;
  padding-block: var(--page-space-sm);
  text-align: center;
}

.section-subheading {
  font-family: var(--page-font-hero);
  font-weight: 300;
  font-size: clamp(1.125rem, 2vw, 28px);
  line-height: 1.4;
  color: var(--page-color-sub);
  margin: 0 0 var(--page-space-sm);
  text-align: center;
}

/* Two-column block (image + text) */
.two-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--page-space-lg);
  margin-block: var(--page-space);
}

.two-col__media {
  flex: 0 1 33.333%;
  min-width: 200px;
}

.two-col__media img {
  width: 100%;
  height: auto;
  display: block;
}

.two-col__content {
  flex: 1 1 58%;
  min-width: 280px;
}

.two-col__content p {
  font-size: 1.275em;
  line-height: 1.5;
  margin: 0 0 1em;
}

.two-col__actions {
  margin-top: var(--page-space);
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .two-col {
    /* flex-direction: column; */
    align-items: stretch;
    gap: var(--page-space);
  }

  .two-col__media {
    flex: 1 1 100%;
  }

  .two-col__content {
    flex: 1 1 100%;
    padding-left: 0;
  }

  .two-col__actions {
    justify-content: center;
  }
}

/* Section block: title + subheading + centered image */
.section-block {
  margin-block: var(--page-space);
}

.section-block hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 0 0 var(--page-space);
}

.section-block__image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--page-space);
}

.section-block__image img {
  max-width: 100%;
  width: 66.666%;
  min-width: 290px;
  height: auto;
}

.section-block__image.section-block--wide img {
  width: 75%;
}

/* Copy (paragraph block) */
.copy {
  font-size: 1.275em;
  line-height: 1.5;
  margin-block: var(--page-space);
}

.copy p {
  margin: 0 0 1em;
}

/* =========================================================
   Choose TMS page — layout + modern text/image sections
   Legacy spacing/font; last two sections modern style
========================================================= */
.choose-tms-page .section-title {
  text-align: center;
}

.choose-tms-two-col-section {
  padding-block: var(--page-space-lg);
}

.choose-tms-two-col {
  padding: var(--page-space);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* When no __row wrapper (e.g. choose-tms.php), card is flex for content + media */
.choose-tms-two-col:not(:has(.choose-tms-two-col__row)) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--page-space-lg);
}

/* Flex only for content + media row; button is outside this so layout is unaffected */
.choose-tms-two-col__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--page-space-lg);
}

.choose-tms-two-col--image-left .choose-tms-two-col__row,
.choose-tms-two-col--image-left:not(:has(.choose-tms-two-col__row)) {
  flex-direction: row-reverse;
}

.choose-tms-two-col__title {
  text-align: left;
  padding-block: 0 var(--page-space-sm);
  margin: 0 0 var(--page-space-sm);
}

.choose-tms-two-col__row .two-col__content,
.choose-tms-two-col > .two-col__content {
  flex: 1 1 50%;
  min-width: 280px;
}

.choose-tms-two-col .two-col__content p {
  font-family: var(--page-font-heading);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--page-color-title);
  margin: 0 0 1em;
}

/* Content box: border only around text, not around image */
/* Two separate text boxes with border (no border around whole two-col) */
.choose-tms-content-box {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: var(--page-space-lg);
}

.choose-tms-content-box + .choose-tms-content-box {
  margin-top: var(--page-space);
}

.choose-tms-content-box p:last-child {
  margin-bottom: 0;
}

/* When using content boxes, no border/box on the section and no padding */
.choose-tms-two-col:has(.choose-tms-content-box) {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.choose-tms-two-col__row .two-col__media,
.choose-tms-two-col > .two-col__media {
  flex: 0 1 45%;
  min-width: 260px;
}

/* Button is outside the flex row; normal block layout, style unchanged */
.choose-tms-two-col__actions {
  margin-top: var(--page-space);
}

.choose-tms-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.choose-tms-cta {
  padding: 12px 24px;
  font-weight: 600;
}

.choose-tms-page .btn-cta.choose-tms-cta {
  background: #1B4F93;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(27, 79, 147, 0.35);
}

.choose-tms-page .btn-cta.choose-tms-cta:hover {
  background: #153a6f;
  box-shadow: 0 4px 12px rgba(27, 79, 147, 0.4);
}

.training-page .btn-cta.choose-tms-cta {
  background: #1B4F93;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(27, 79, 147, 0.35);
  border-radius: 12px;
}

.training-page .btn-cta.choose-tms-cta:hover {
  background: #153a6f;
  box-shadow: 0 4px 12px rgba(27, 79, 147, 0.4);
}

@media (max-width: 767px) {
  .choose-tms-two-col--image-left .choose-tms-two-col__row {
    flex-direction: column;
  }

  .choose-tms-two-col__row .two-col__content,
  .choose-tms-two-col__row .two-col__media,
  .choose-tms-two-col > .two-col__content,
  .choose-tms-two-col > .two-col__media {
    flex: 1 1 100%;
  }

  .choose-tms-two-col__title {
    text-align: center;
  }
}

/* Choose TMS — split section (two columns: left = text then image, right = image then text) */
.choose-tms-split-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--page-space-lg);
}

.choose-tms-split-col {
  flex: 1 1 48%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--page-space);
}

.choose-tms-split-block {
  padding: var(--page-space-lg);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: block;
}

.choose-tms-split-block .choose-tms-split-content p {
  font-family: var(--page-font-heading);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--page-color-title);
  margin: 0 0 1em;
}

.choose-tms-split-block .choose-tms-split-content p:last-child {
  margin-bottom: 0;
}

.choose-tms-split-media {
  flex: 0 0 auto;
}

.choose-tms-split-media .choose-tms-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .choose-tms-split-col {
    flex: 1 1 100%;
  }
}

/* Training page — subheadings and extra section */
.training-page .choose-tms-two-col .two-col__content p {
  font-family: var(--page-font-heading);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--page-color-title);
  margin: 0 0 1em;
}

@media (max-width: 991px) {
/* @media (max-width: 767px) { */
  .training-page .two-col__media {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .training-page .two-col__content.comp-training {
    order: -1;
  }
}

.training-subheading {
  font-family: var(--page-font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--page-color-title);
  margin: var(--page-space-sm) 0 0.25em;
}

.training-extra-intro {
  font-family: var(--page-font-heading);
  font-size: 1rem;
  color: var(--page-color-sub);
  margin: 0 0 var(--page-space);
}

.training-workshop-link {
  margin-top: var(--page-space-sm);
}

.training-workshop-link a {
  color: var(--page-color-title);
  font-weight: 500;
  text-decoration: underline;
}

.training-workshop-link a:hover {
  color: var(--page-color-sub);
}

/* Figure + caption row */
.figure-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--page-space-lg);
  margin-block: var(--page-space);
}

.figure-col {
  flex: 0 1 41.666%;
  min-width: 240px;
}

.figure-col img {
  width: 100%;
  height: auto;
  display: block;
}

.figure-col figcaption {
  padding: var(--page-space-sm) var(--page-space);
  font-size: 0.95em;
}

.figure-caption-col {
  flex: 0 1 33.333%;
  min-width: 220px;
}

.figure-caption-col p {
  margin: 0 0 0.75em;
}

@media (max-width: 767px) {
  .figure-row {
    flex-direction: column;
    align-items: center;
    gap: var(--page-space);
  }
}

/* CTA */
.cta-section {
  margin-block: var(--page-space);
  text-align: center;
}

.center-btn {
  text-align: center;
}

.btn-cta {
  display: inline-block;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  color: #fff;
  background: var(--btn-cta-bg);
  border: 0;
  border-radius: 5px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.35);
}

.btn-cta:hover {
  background: var(--btn-cta-bg-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.4);

}

/* .btn-cta:active {
  background: var(--mh-primary-darker);
} */

/* Caution */
.caution {
  background: var(--caution-bg);
  color: #000;
  padding: var(--page-space-sm);
  text-align: center;
  border-radius: 5px;
}

/* Tint section */
.section--tint {
  background-color: #e2f0ff;
}

/* =========================================================
   CONTACT FORM PAGE — legacy layout from test.css
   Two-column: form (main) + sidebar (box); form-control + box-border
========================================================= */

.contact-form-page.pad-bottom {
  padding-bottom: 20px;
}

.contact-form-page .big-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}

.contact-form-page .mar-bottom {
  margin-bottom: 20px;
}

.contact-form-page .mar-top {
  margin-top: 20px;
}

.contact-form-page .no-pad {
  padding: 0;
}

.contact-form-page .text-center {
  text-align: center;
}

.contact-form-page .contact-form-intro {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.contact-form-page .contact-form__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.contact-form-page .contact-form__main {
  flex: 1 1 65%;
  min-width: 280px;
}

.contact-form-page .contact-form__sidebar {
  flex: 0 1 30%;
  min-width: 240px;
}

/* Three-column rows (Row 1: First/Last/Email, Row 2: Phone/Website/Institution) */
.contact-form-page .contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 15px;
}

.contact-form-page .contact-form-field {
  max-width: 100%;
}

.contact-form-page .contact-form-field--full {
  width: 100%;
}

.contact-form-page .form-group {
  margin-bottom: 15px;
}

.contact-form-page .form-control--legacy {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
}

.contact-form-page .form-control--legacy:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.contact-form-page .form-control--legacy::placeholder {
  color: #999;
}

.contact-form-page textarea.form-control--legacy {
  height: auto;
  min-height: 80px;
}

.contact-form-page select.form-control--legacy {
  appearance: auto;
}

.contact-form-page .contact-form-label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

/* Captcha row: image | Enter Captcha + input | Submit button */
.contact-form-page .contact-form__captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  margin-top: 20px;
  justify-content: space-between;
}

.contact-form-page .contact-form__captcha-image {
  flex-shrink: 0;
}

.contact-form-page .contact-form__captcha-image img {
  display: block;
  height: 34px;
  height: 56px;
  height: 120px;
  width: auto;
  max-width: 160px;
  max-width: 260px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form-page .contact-form__captcha-input-wrap {
  flex: 0 1 auto;
  min-width: 140px;
}

.contact-form-page .contact-form__captcha-input-wrap .form-control--legacy {
  width: 100%;
  min-width: 120px;
}

.contact-form-page .contact-form__captcha-submit {
  flex-shrink: 0;
}

.contact-form-page .btn-legacy {
  display: inline-block;
  /* padding: 8px 16px; */
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: #fff;
  background-color: #5bc0de;
  border: 1px solid #46b8da;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.42857143;
}

.contact-form-page .btn-legacy:hover {
  background-color: #46b8da;
  border-color: #31b0d5;
  color: #fff;
  text-decoration: none;
}

.contact-form-page .box.box-border {
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  padding: 20px;
  background: #fff;
}

.contact-form-page .contact-form-sidebar-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

.contact-form-page .contact-form-sidebar-p,
.contact-form-page .contact-form-sidebar-block {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form-page .contact-form-sidebar-block:last-child {
  margin-bottom: 0;
}

.contact-form-page .contact-form-sidebar-block a {
  color: #337ab7;
  text-decoration: none;
}

.contact-form-page .contact-form-sidebar-block a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .contact-form-page .contact-form__grid {
    flex-direction: column;
    align-items: normal;
  }

  .contact-form-page .contact-form__main,
  .contact-form-page .contact-form__sidebar {
    flex: 1 1 100%;
  }

  .contact-form-page .contact-form__row {
    grid-template-columns: 1fr;
    /* gap: 12px; */
    gap: var(--page-space);
  }

  .contact-form-page .contact-form__captcha-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-page .contact-form__captcha-input-wrap {
    min-width: 100%;
  }

  .contact-form__captcha-row .contact-form__captcha-submit,
  .contact-form__captcha-row .contact-form__captcha-submit .btn-legacy {
    width: 100%;
  }
}

/* =========================================================
   SPRY TMS FEATURES SECTION (legacy test-section, modern layout)
   #spry-tms-features: 3-col layout, inset feature list, responsive
========================================================= */

.spry-content.features-section {
  background-color: #e8e8e8;
  padding: var(--page-space-lg, 40px) 0;
}

.features-section .features-container {
  max-width: var(--page-container-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-space-inline, 15px);
  padding-right: var(--page-space-inline, 15px);
}

.features-section .features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px 32px;
  align-items: center;
}

.features-section .features-col {
  min-width: 0;
}

.features-section .features-col-left,
.features-section .features-col-right {
  padding: 0;
}

.features-section .inset.features-list {
  border: none;
  background: transparent;
}

@media (min-width: 992px) {
  .features-section .features-col-left .inset.features-list,
  .features-section .features-col-right .inset.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    gap: 3rem;
  }
}

.features-section .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}

.features-section .feature-item:first-child {
  padding-top: 0;
}

.features-section .feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.features-section .feature-icon {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
}

.features-section .feature-icon .img-cover {
  display: block;
  width: 100%;
  max-width: 90px;
  height: auto;
  margin: 0 auto;
}

.features-section .feature-label {
  flex: 1;
  min-width: 0;
  color: #000;
}

.features-section .feature-title {
  display: block;
  font-family: var(--page-font-heading,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif);
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  margin: 0 0 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.features-section .feature-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #555;
}

.features-section .flex-center-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.features-section .features-console-img,
.features-section .img-min-width {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 200px;
}

@media (min-width: 768px) {

  .features-section .features-console-img,
  .features-section .img-min-width {
    min-width: 290px;
    max-width: 380px;
  }
}

@media (max-width: 991px) {
  .features-section .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-section .features-col-center {
    order: -1;
  }

  .features-section .flex-center-row {
    padding: 0 0 24px;
  }
}

@media (max-width: 767px) {
  .features-section .features-console-img {
    min-width: 290px;
    max-width: 380px;
  }
}

@media (max-width: 575px) {
  .spry-content.features-section {
    padding: var(--page-space, 20px) 0;
  }

  .features-section .feature-item {
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .features-section .feature-icon {
    width: 56px;
  }

  .features-section .feature-icon .img-cover {
    max-width: 56px;
  }
}

/* ---- rTMS features section (last section on rTMS page): modern layout ---- */
.rtms-features-section {
  --rtms-features-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --rtms-features-duration: 0.35s;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: #f8fbfd;
  transition: padding var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  transition: padding var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__block {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  transition: margin var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__title {
  margin: 0 0 1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  transition: font-size var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__text {
  margin: 0 0 1rem;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.65;
  color: #444;
  /* max-width: 72ch; */
  transition: font-size var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__text:last-child {
  margin-bottom: 0;
}

.rtms-features-section__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  transition: gap var(--rtms-features-duration) var(--rtms-features-ease);
}

@media (min-width: 768px) {
  .rtms-features-section__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(2rem, 4vw, 3rem);
  }

  .rtms-features-section__media,
  .rtms-features-section__card {
    flex: 1 1 0;
    min-width: 0;
  }
}

.rtms-features-section__media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--rtms-features-duration) var(--rtms-features-ease),
              transform var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__media:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.rtms-features-section__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--rtms-features-duration) var(--rtms-features-ease),
              padding var(--rtms-features-duration) var(--rtms-features-ease);
}

.rtms-features-section__card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.rtms-features-section__img--top {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.rtms-features-section__card .rtms-features-section__title {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* ---- FAQs (rTMS page): CN-style two-column accordion ---- */
.rtms-faq {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.rtms-faq__container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.rtms-faq__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: stretch;
}

/* Mobile: aside centered on top of list */
.rtms-faq__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .rtms-faq__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .rtms-faq__aside {
    flex: 0 1 38%;
    min-width: 0;
    position: sticky;
    top: 1.5rem;
    top: 5.5rem;
    display: block;
    text-align: left;
  }

  .rtms-faq__list {
    flex: 1 1 60%;
    flex: 1 1 90%;
    min-width: 0;
  }
}

.rtms-faq__title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.rtms-faq__intro {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-size: 1.75rem;
  line-height: 1.5;
  color: #666;
}

.rtms-faq__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #1B4F93;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.rtms-faq__cta:hover {
  background: #153a6f;
  color: #fff;
}

.rtms-faq__cta-icon {
  font-size: 1em;
  line-height: 1;
}

.rtms-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rtms-faq__item {
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.rtms-faq__item:hover {
  background: #e8e8e8;
}

.rtms-faq__item[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rtms-faq__question {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: #282828;
  text-align: left;
  cursor: pointer;
  list-style: none;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.rtms-faq__question::-webkit-details-marker,
.rtms-faq__question::marker {
  display: none;
}

.rtms-faq__question::before {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: #444;
}

.rtms-faq__item[open] .rtms-faq__question::before {
  content: "−";
}

.rtms-faq__answer {
  padding: 0 1.25rem 1.25rem 2.5rem;
}

.rtms-faq__answer p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #444;
}

/* ---- rTMS second video section: modern layout — video fits, no forced 50/50 split ---- */
.rtms-page .rtms-video-two-col {
  padding: 0;
  background: #fff;
}

.rtms-page .rtms-video-two-col .container.clearfix {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.rtms-page .rtms-video-two-col__container {
  max-width: min(100%, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.rtms-page .rtms-video-two-col__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  min-height: 0;
}

@media (min-width: 768px) {
  .rtms-page .rtms-video-two-col__row {
    /* Video column grows smoothly from mobile up to ~800px, then stops */
    grid-template-columns: minmax(0, clamp(320px, 52vw, 800px)) 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
  }
}

.rtms-page .rtms-video-two-col__media {
  position: relative;
  width: 100%;
  /* Match the grid clamp so video width feels natural, not fixed */
  max-width: clamp(320px, 52vw, 800px);
  margin: 0 auto;
  background: #0d1b2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 9;
}

/* Mobile: make video truly full-width inside the page padding */
@media (max-width: 767.98px) {
  .rtms-page .rtms-video-two-col__media {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
  }
}

@media (min-width: 768px) {
  .rtms-page .rtms-video-two-col__media {
    margin: 0;
    max-width: 100%;
  }
}

.rtms-page .rtms-video-two-col__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.rtms-page .rtms-video-two-col__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2rem) 0;
  background: #fff;
}

@media (min-width: 768px) {
  .rtms-page .rtms-video-two-col__content {
    padding: clamp(1.25rem, 4vw, 2rem) clamp(0, 2vw, 1.5rem) clamp(1.25rem, 4vw, 2rem) 0;
  }
}

.rtms-page .rtms-video-two-col__title {
  margin: 0 0 1.25rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: #282828;
  text-align: left;
  letter-spacing: -0.02em;
}

.rtms-page .rtms-video-two-col__text {
  margin: 0 0 1.25rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  color: #555;
  text-align: left;
  max-width: 42em;
}

.rtms-page .rtms-video-two-col__text:last-child {
  margin-bottom: 0;
}