/*
Theme Name: Medisol Modern
Theme URI: https://medisol.com.au
Author: Medisol Pty Ltd
Description: A responsive custom WordPress theme for Medisol's endovenous product portfolio.
Version: 1.0.0
Text Domain: medisol-modern
*/

[hidden] { display: none !important; }

:root {
  --cream: #f7f3ec;
  --cream-deep: #eee6da;
  --navy: #0b4e70;
  --blue: #167aa5;
  --blue-dark: #083e5c;
  --pale-blue: #dcecf2;
  --ink: #17313d;
  --muted: #637983;
  --line: #e4dccf;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-geist-sans), "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 243, 236, 0.94);
  border-bottom: 1px solid rgba(228, 220, 207, 0.7);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto auto;
  min-height: 92px;
  padding: 18px clamp(24px, 4vw, 68px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.wordmark {
  align-items: center;
  display: inline-flex;
  height: 58px;
  overflow: hidden;
  position: relative;
  width: 210px;
}

.wordmark img {
  display: block;
  height: 220px;
  left: -5px;
  mix-blend-mode: multiply;
  position: absolute;
  top: -88px;
  width: 220px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 520;
  position: relative;
}

.desktop-nav a::after {
  background: var(--blue);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 6px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 620;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(22, 122, 165, 0.35);
  outline-offset: 4px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--navy);
}

.button-outline {
  color: var(--navy);
}

.button-outline:hover {
  background: var(--pale-blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  min-height: 715px;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  padding: 78px clamp(32px, 4vw, 68px) 76px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.18em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #83c8e2;
}

.hero h1 {
  color: #063650;
  font-size: clamp(54px, 5vw, 80px);
  font-weight: 580;
  letter-spacing: -0.055em;
  line-height: 0.99;
  margin: 0;
  max-width: 720px;
}

.hero-intro {
  color: #345566;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  margin: 30px 0 34px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  background:
    radial-gradient(circle at 60% 44%, rgba(255, 255, 255, 0.98) 0 20%, transparent 45%),
    linear-gradient(145deg, #e5f0f3 0%, #c6e0e9 100%);
  min-height: 715px;
  overflow: hidden;
  position: relative;
}

.hero-visual::before {
  background: var(--cream);
  border-radius: 0 0 56% 0;
  content: "";
  height: 112%;
  left: -32%;
  position: absolute;
  top: -6%;
  width: 45%;
  z-index: 2;
}

.hero-visual::after {
  background: rgba(247, 243, 236, 0.48);
  border-radius: 50%;
  content: "";
  height: 560px;
  left: 21%;
  position: absolute;
  top: 9%;
  width: 560px;
}

.hero-product {
  filter: drop-shadow(0 22px 35px rgba(8, 62, 92, 0.18));
  position: absolute;
  z-index: 3;
}

.hero-product img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hero-product-gbox {
  filter: none;
  height: 50%;
  left: 14%;
  mix-blend-mode: normal;
  top: 12%;
  width: 43%;
}

.hero-product-gbox img {
  filter: drop-shadow(0 22px 35px rgba(8, 62, 92, 0.18));
  mix-blend-mode: normal;
}

.hero-product-rf {
  bottom: 6%;
  height: 44%;
  right: 3%;
  width: 47%;
}

.hero-product-pump {
  bottom: 5%;
  height: 37%;
  left: 10%;
  width: 34%;
}

.hero-orbit {
  border: 1px solid rgba(22, 122, 165, 0.22);
  border-radius: 50%;
  position: absolute;
  z-index: 1;
}

.hero-orbit-one {
  height: 640px;
  right: -170px;
  top: -180px;
  width: 640px;
}

.hero-orbit-two {
  bottom: -230px;
  height: 520px;
  left: -80px;
  width: 520px;
}

.hero-visual-caption {
  bottom: 28px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 680;
  left: 50%;
  letter-spacing: 0.14em;
  margin: 0;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
}

.hero-visual-caption span {
  color: var(--blue);
  padding: 0 8px;
}

.solution-rail {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.solution-item {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 138px;
  padding: 26px clamp(20px, 2.5vw, 40px);
  transition: background 180ms ease;
}

.solution-item:last-child {
  border-right: 0;
}

.solution-item:hover {
  background: rgba(220, 236, 242, 0.6);
}

.solution-number {
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  font-size: 13px;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.solution-item strong,
.solution-item small {
  display: block;
}

.solution-item strong {
  color: var(--navy);
  font-size: 17px;
  font-weight: 620;
}

.solution-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 5px;
}

.intro-section,
.partners-section {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 120px clamp(24px, 5vw, 80px) 70px;
}

.intro-section h2,
.partners-section h2,
.why-section h2,
.contact-section h2 {
  color: var(--navy);
  font-size: clamp(40px, 4.1vw, 66px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.intro-section > p {
  align-self: end;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 590px;
}

.product-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 clamp(24px, 5vw, 80px) 120px;
}

.laser-systems {
  padding: 0 clamp(24px, 5vw, 80px) 42px;
}

.laser-systems + .laser-systems {
  padding-top: 76px;
}

.laser-systems-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-bottom: 42px;
}

.laser-systems-heading h2 {
  color: var(--navy);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.laser-systems-heading > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.laser-tabs {
  border-bottom: 1px solid rgba(11, 78, 112, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.laser-tabs.tab-count-2 {
  grid-template-columns: repeat(2, 1fr);
}

.laser-tabs.tab-count-4 {
  grid-template-columns: repeat(4, 1fr);
}

.laser-tabs button {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(11, 78, 112, 0.14);
  color: var(--muted);
  cursor: pointer;
  min-height: 106px;
  padding: 22px 28px;
  position: relative;
  text-align: left;
}

.laser-tabs button:last-child {
  border-right: 0;
}

.laser-tabs button::after {
  background: var(--blue);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform 180ms ease;
  width: 100%;
}

.laser-tabs button.is-active {
  color: var(--navy);
}

.laser-tabs button.is-active::after {
  transform: scaleX(1);
}

.laser-tabs strong,
.laser-tabs span {
  display: block;
}

.laser-tabs strong {
  font-size: 20px;
  font-weight: 630;
}

.laser-tabs span {
  font-size: 12px;
  margin-top: 7px;
}

.laser-tab-panel {
  background: #e8f2f5;
  border: 1px solid rgba(11, 78, 112, 0.11);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 55px rgba(6, 45, 67, 0.055);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 520px;
  overflow: hidden;
}

.category-tone-mist .laser-tab-panel {
  background: #edf4f5;
}

.category-tone-sand .laser-tab-panel {
  background: #eee6d9;
}

.laser-tab-visual {
  align-items: center;
  background: radial-gradient(circle at 50% 48%, #fff 0, rgba(255, 255, 255, 0.55) 42%, transparent 73%);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 45px;
  position: relative;
}

.laser-tab-visual img {
  filter: drop-shadow(0 22px 32px rgba(8, 62, 92, 0.16));
  max-height: 390px;
  object-fit: contain;
  width: 100%;
}

.laser-tab-visual .laser-tabs-image-velas {
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: 79% center;
  transform: scale(1.25);
}

.laser-tab-image-pair {
  align-content: center;
  display: grid;
  gap: 20px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.laser-tab-image-pair img,
.laser-tab-image-pair .laser-tab-secondary-image {
  height: 175px;
  max-height: 175px;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.laser-tab-visual > span {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 78, 112, 0.13);
  border-radius: 999px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 680;
  left: 24px;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 24px;
}

.laser-tab-copy {
  align-self: stretch;
  border-left: 1px solid rgba(11, 78, 112, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(34px, 4vw, 64px);
}

.laser-tab-copy h3 {
  color: var(--navy);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 22px;
}

.laser-tab-copy > p:not(.product-eyebrow) {
  color: #506874;
  font-size: 16px;
  line-height: 1.7;
}

.laser-tab-copy ul {
  border-top: 1px solid rgba(11, 78, 112, 0.13);
  list-style: none;
  margin: 28px 0;
  padding: 15px 0 0;
}

.laser-tab-copy li {
  color: #315463;
  font-size: 14px;
  padding: 6px 0 6px 18px;
  position: relative;
}

.laser-tab-copy li::before {
  color: var(--blue);
  content: "•";
  left: 0;
  position: absolute;
}

.laser-tab-copy a {
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 660;
  gap: 12px;
}

.product-card {
  box-shadow: 0 18px 55px rgba(6, 45, 67, 0.055);
  border: 1px solid rgba(11, 78, 112, 0.11);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 530px;
  overflow: hidden;
}

.product-card:last-child {
  grid-column: 1 / -1;
}

.tone-blue {
  background: #e8f2f5;
}

.tone-sand {
  background: #eee6d9;
}

.tone-mist {
  background: #edf4f5;
}

.tone-white {
  background: #faf9f6;
}

.product-image-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.product-image-wrap::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.54) 36%, rgba(255, 255, 255, 0) 72%);
  content: "";
  inset: 9%;
  position: absolute;
}

.product-image-wrap img {
  filter: contrast(0.98) saturate(0.9);
  max-height: 330px;
  mix-blend-mode: multiply;
  object-fit: contain;
  opacity: 0.9;
  position: relative;
  transition: transform 350ms ease, opacity 350ms ease, filter 350ms ease;
  width: 100%;
  z-index: 1;
}

.product-card:hover .product-image-wrap img {
  filter: contrast(1) saturate(1);
  opacity: 1;
  transform: scale(1.025);
}

.product-image-wrap .product-image-velas {
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.32);
  width: 100%;
}

.product-card:hover .product-image-wrap .product-image-velas {
  transform: scale(1.35);
}

.product-image-pair {
  align-content: center;
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.product-image-pair img {
  height: 150px;
}

.product-image-pair .secondary-product-image {
  border-radius: 12px;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.product-group {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 78, 112, 0.13);
  border-radius: 999px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 680;
  left: 20px;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 20px;
}

.product-copy {
  align-self: center;
  border-left: 1px solid rgba(11, 78, 112, 0.09);
  padding: 48px clamp(30px, 3vw, 54px);
}

.product-eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 690;
  letter-spacing: 0.15em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.product-copy h3 {
  color: var(--navy);
  font-size: clamp(27px, 2.3vw, 40px);
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 20px;
}

.product-copy > p {
  color: #506874;
  font-size: 15px;
  line-height: 1.65;
}

.product-copy ul {
  border-top: 1px solid rgba(11, 78, 112, 0.13);
  list-style: none;
  margin: 26px 0;
  padding: 14px 0 0;
}

.product-copy li {
  color: #315463;
  font-size: 13px;
  padding: 5px 0 5px 18px;
  position: relative;
}

.product-copy li::before {
  color: var(--blue);
  content: "•";
  left: 0;
  position: absolute;
}

.product-copy a {
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 660;
  gap: 12px;
}

.why-section {
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 80px;
  grid-template-columns: 0.92fr 1.08fr;
  padding: 120px clamp(24px, 5vw, 80px);
}

.why-section h2,
.contact-section h2 {
  color: var(--white);
}

.why-heading > p:not(.eyebrow) {
  color: #c1d9e4;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 620px;
}

.why-heading > p:not(.eyebrow) + p {
  margin-top: 16px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.why-grid article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 240px;
  padding: 30px;
}

.why-grid span {
  color: #69b8d8;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.why-grid h3 {
  font-size: 21px;
  font-weight: 580;
  margin: 28px 0 10px;
}

.why-grid p {
  color: #b9d2dc;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.partners-section {
  padding-bottom: 120px;
}

.partner-list {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.partner-list figure {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 132px;
  padding: 28px 34px;
}

.partner-list figure:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.partner-list img {
  filter: grayscale(0.12) saturate(0.9);
  max-height: 58px;
  max-width: 230px;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 78%;
}

.partner-list figure:nth-child(2) img {
  max-height: 72px;
}

.partner-list figure:nth-child(4) img {
  max-height: 48px;
}

.partner-list figcaption {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.contact-section {
  background: #0a3f5d;
  color: var(--white);
  display: grid;
  gap: 80px;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 110px clamp(24px, 5vw, 80px);
}

.contact-details {
  align-self: end;
}

.contact-details > a:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  font-size: clamp(22px, 2.3vw, 34px);
  justify-content: space-between;
  padding-bottom: 20px;
}

.contact-details p {
  color: #bdd5df;
  line-height: 1.65;
  margin: 28px 0 36px;
}

.button-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

footer {
  align-items: start;
  background: #dcecf1;
  color: #4c6975;
  display: grid;
  gap: 26px;
  grid-template-columns: 1.1fr 1fr 1fr;
  padding: 70px clamp(24px, 5vw, 80px);
}

.footer-wordmark {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer-wordmark img {
  left: -5px;
  top: -88px;
}

footer p {
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 0;
}

footer small {
  color: #5d7782;
  font-size: 11px;
  grid-column: 2 / -1;
  line-height: 1.6;
  max-width: 760px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 58px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-visual::before {
    display: none;
  }

  .solution-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-item:nth-child(2) {
    border-right: 0;
  }

  .solution-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-section,
  .partners-section,
  .why-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .laser-systems-heading,
  .laser-tab-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    padding: 16px 20px;
  }

  .header-action {
    min-height: 44px;
    padding: 0 16px;
  }

  .wordmark img {
    height: 180px;
    left: -4px;
    top: -72px;
    width: 180px;
  }

  .wordmark {
    height: 48px;
    width: 172px;
  }

  .hero-copy {
    padding: 72px 22px 50px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-product-gbox {
    left: 8%;
    width: 47%;
  }

  .hero-product-rf {
    right: -3%;
    width: 52%;
  }

  .hero-product-pump {
    left: 5%;
    width: 39%;
  }

  .solution-rail {
    grid-template-columns: 1fr;
  }

  .solution-item {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 112px;
  }

  .intro-section,
  .partners-section,
  .why-section,
  .contact-section {
    gap: 42px;
    padding: 82px 22px 52px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 0 14px 80px;
  }

  .laser-systems {
    padding: 0 14px 34px;
  }

  .laser-systems-heading {
    gap: 24px;
    margin-bottom: 30px;
    padding: 0 8px;
  }

  .laser-tabs {
    overflow-x: auto;
  }

  .laser-tabs button {
    min-width: 150px;
    padding: 18px;
  }

  .laser-tab-panel {
    min-height: auto;
  }

  .laser-tab-visual {
    min-height: 330px;
    padding: 30px;
  }

  .laser-tab-copy {
    border-left: 0;
    border-top: 1px solid rgba(11, 78, 112, 0.09);
    padding: 38px 28px 44px;
  }

  .product-card:last-child {
    grid-column: auto;
  }

  .product-image-wrap {
    min-height: 300px;
  }

  .product-copy {
    border-left: 0;
    border-top: 1px solid rgba(11, 78, 112, 0.09);
  }

  .why-grid,
  .partner-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding-bottom: 82px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 55px 22px;
  }

  footer small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Treatment education */

.treatments-page {
  background: var(--cream);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.treatment-hero {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 700px;
}

.treatment-hero-copy {
  align-self: center;
  padding: 100px clamp(32px, 5vw, 80px);
}

.treatment-hero h1 {
  color: var(--navy);
  font-size: clamp(56px, 6.4vw, 96px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 24px 0 32px;
}

.treatment-hero-copy > p:last-child {
  color: #526d78;
  font-size: 19px;
  line-height: 1.7;
  max-width: 590px;
}

.treatment-hero-image {
  min-height: 700px;
  overflow: hidden;
  position: relative;
}

.treatment-hero-image::after {
  background: linear-gradient(90deg, rgba(6, 45, 67, 0.08), rgba(6, 45, 67, 0.2));
  content: "";
  inset: 0;
  position: absolute;
}

.treatment-hero-image > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.treatment-hero-label {
  background: rgba(247, 243, 236, 0.94);
  bottom: 0;
  display: grid;
  gap: 8px;
  left: 0;
  padding: 28px 34px;
  position: absolute;
  width: min(520px, 78%);
  z-index: 2;
}

.treatment-hero-label span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.treatment-hero-label strong {
  color: var(--navy);
  font-size: 19px;
  font-weight: 590;
}

.treatment-tabs {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: sticky;
  top: 94px;
  z-index: 15;
}

.treatment-tabs a {
  align-items: center;
  color: var(--navy);
  display: flex;
  font-size: 16px;
  font-weight: 640;
  gap: 18px;
  justify-content: center;
  min-height: 78px;
  transition: background 180ms ease, color 180ms ease;
}

.treatment-tabs a + a {
  border-left: 1px solid var(--line);
}

.treatment-tabs a:hover,
.treatment-tabs a:focus-visible {
  background: var(--navy);
  color: #fff;
}

.treatment-tabs span {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.treatment-section {
  scroll-margin-top: 170px;
  padding: 130px clamp(24px, 5vw, 80px);
}

.treatment-section-rf {
  background: #eef5f6;
}

.treatment-section-heading {
  align-items: end;
  display: grid;
  gap: 72px;
  grid-template-columns: 1fr 0.9fr;
  margin-bottom: 82px;
}

.treatment-section-heading h2,
.treatment-subheading h2 {
  color: var(--navy);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 18px 0 0;
}

.treatment-section-heading > p {
  color: #506874;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

.treatment-feature {
  background: #e6f1f4;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 560px;
  overflow: hidden;
}

.treatment-feature-visual {
  align-items: center;
  background: #f8f7f3;
  display: flex;
  justify-content: center;
  min-height: 560px;
  padding: 42px;
}

.treatment-feature-visual img {
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
}

.treatment-feature-copy {
  align-self: center;
  padding: clamp(46px, 6vw, 90px);
}

.treatment-feature-copy h3,
.rf-system-copy h3,
.treatment-benefit-card h3,
.treatment-product-bridge h3 {
  color: var(--navy);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 18px 0 24px;
}

.treatment-feature-copy > p:not(.eyebrow),
.rf-system-copy > p:not(.eyebrow),
.treatment-product-bridge p {
  color: #496470;
  font-size: 16px;
  line-height: 1.75;
}

.technology-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.technology-pills span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 78, 112, 0.13);
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
  padding: 10px 14px;
}

.treatment-subheading {
  margin: 120px 0 46px;
  max-width: 850px;
}

.treatment-steps {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.treatment-steps article {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(11, 78, 112, 0.11);
  min-height: 270px;
  padding: 34px;
}

.treatment-steps article:first-child {
  border-radius: 18px 0 0;
}

.treatment-steps article:nth-child(3) {
  border-radius: 0 18px 0 0;
}

.treatment-steps article:nth-child(4) {
  border-radius: 0 0 0 18px;
}

.treatment-steps article:last-child {
  border-radius: 0 0 18px;
}

.treatment-steps span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.treatment-steps h3 {
  color: var(--navy);
  font-size: 21px;
  font-weight: 590;
  margin: 52px 0 14px;
}

.treatment-steps p {
  color: #58717c;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.treatment-evidence-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 90px;
}

.treatment-benefit-card,
.treatment-product-bridge {
  border-radius: 24px;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(42px, 5vw, 72px);
}

.treatment-benefit-card {
  background: #fff;
}

.treatment-benefit-card h3 {
  font-size: clamp(34px, 3.5vw, 50px);
}

.treatment-benefits {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.treatment-benefits li {
  border-top: 1px solid rgba(11, 78, 112, 0.12);
  color: #365965;
  font-size: 14px;
  line-height: 1.5;
  padding: 15px 0 15px 28px;
  position: relative;
}

.treatment-benefits li::before {
  color: var(--blue);
  content: "✓";
  font-weight: 700;
  left: 2px;
  position: absolute;
}

.treatment-product-bridge {
  align-items: center;
  background: var(--navy);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 0.75fr;
}

.treatment-product-bridge h3,
.treatment-product-bridge .light {
  color: #fff;
}

.treatment-product-bridge p {
  color: #bcd5df;
}

.treatment-product-bridge a {
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 660;
  gap: 12px;
  margin-top: 18px;
}

.treatment-product-bridge img {
  filter: saturate(0.9);
  max-height: 350px;
  mix-blend-mode: screen;
  object-fit: contain;
  opacity: 0.92;
  width: 100%;
}

.rf-system-showcase {
  background: var(--navy);
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  overflow: hidden;
}

.rf-system-copy {
  align-self: center;
  padding: clamp(48px, 6vw, 86px);
}

.rf-system-copy h3,
.rf-system-copy .light {
  color: #fff;
}

.rf-system-copy > p:not(.eyebrow) {
  color: #bcd5df;
}

.technology-pills-dark span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #eaf5f8;
}

.rf-product-composition {
  background:
    radial-gradient(circle at 58% 40%, rgba(120, 202, 229, 0.28), transparent 42%),
    linear-gradient(140deg, #d9edf2, #f8f7f3);
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.rf-product-composition img {
  object-fit: contain;
  position: absolute;
}

.rf-generator {
  left: 10%;
  top: 12%;
  width: 82%;
}

.rf-catheter {
  bottom: 6%;
  left: 5%;
  mix-blend-mode: multiply;
  opacity: 0.92;
  width: 90%;
}

.treatment-product-bridge-light {
  background: #dfeef1;
}

.treatment-product-bridge-light h3,
.treatment-product-bridge-light a {
  color: var(--navy);
}

.treatment-product-bridge-light p {
  color: #4d6874;
}

.treatment-product-bridge-light img {
  mix-blend-mode: multiply;
}

.clinical-notice {
  background: #faf7f0;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: 0.35fr 1fr;
  padding: 48px clamp(24px, 5vw, 80px);
}

.clinical-notice strong {
  color: var(--navy);
  font-size: 14px;
}

.clinical-notice p {
  color: #637984;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.treatment-contact {
  border-top: 0;
}

@media (max-width: 1120px) {
  .treatment-hero,
  .treatment-section-heading,
  .treatment-feature,
  .rf-system-showcase,
  .treatment-evidence-grid {
    grid-template-columns: 1fr;
  }

  .treatment-hero-image {
    min-height: 560px;
  }

  .treatment-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatment-product-bridge {
    grid-template-columns: 1fr 0.65fr;
  }
}

@media (max-width: 760px) {
  .treatment-hero {
    min-height: auto;
  }

  .treatment-hero-copy {
    padding: 72px 22px 54px;
  }

  .treatment-hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .treatment-hero-image {
    min-height: 410px;
  }

  .treatment-tabs {
    top: 74px;
  }

  .treatment-tabs a {
    font-size: 13px;
    gap: 8px;
    min-height: 68px;
    padding: 10px;
    text-align: center;
  }

  .treatment-section {
    padding: 84px 18px;
    scroll-margin-top: 142px;
  }

  .treatment-section-heading {
    gap: 30px;
    margin-bottom: 48px;
  }

  .treatment-feature {
    min-height: auto;
  }

  .treatment-feature-visual {
    min-height: 460px;
    padding: 32px;
  }

  .treatment-feature-copy,
  .rf-system-copy {
    padding: 48px 28px;
  }

  .treatment-subheading {
    margin: 82px 0 34px;
  }

  .treatment-steps {
    grid-template-columns: 1fr;
  }

  .treatment-steps article,
  .treatment-steps article:first-child,
  .treatment-steps article:nth-child(3),
  .treatment-steps article:nth-child(4),
  .treatment-steps article:last-child {
    border-radius: 0;
    min-height: 230px;
  }

  .treatment-steps article:first-child {
    border-radius: 16px 16px 0 0;
  }

  .treatment-steps article:last-child {
    border-radius: 0 0 16px 16px;
  }

  .treatment-evidence-grid {
    margin-top: 60px;
  }

  .treatment-benefit-card,
  .treatment-product-bridge {
    min-height: auto;
    padding: 42px 28px;
  }

  .treatment-product-bridge {
    grid-template-columns: 1fr;
  }

  .rf-product-composition {
    min-height: 470px;
  }

  .clinical-notice {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 38px 22px;
  }
}
