:root {
  --purple: #6f2aad;
  --deep: #281044;
  --ink: #25113d;
  --muted: #766a83;
  --lavender: #f5effa;
  --line: #e6d8ef;
  --gold: #d1a35b;
  --white: #fff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(circle at 75% 8%, rgba(153, 110, 188, 0.32), transparent 30%),
    linear-gradient(135deg, #faf7fd 0%, #eee6f5 48%, #e1d3ed 100%);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
.container {
  width: min(1200px, calc(100% - 72px));
  margin: 0 auto;
}
.utility-bar {
  height: 38px;
  background: var(--deep);
  color: #f1e8f7;
  font-size: 11px;
}
.utility-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 27px;
}
.utility-inner b {
  color: #fff;
}
.utility-inner span:nth-child(2) {
  margin-left: auto;
}
.socials {
  display: flex;
  gap: 16px;
  margin-left: 20px;
  font-weight: 700;
  font-size: 14px;
}
.site-header {
  position: absolute;
  z-index: 10;
  top: 38px;
  left: 0;
  width: 100%;
  padding-top: 14px;
  background: transparent;
}
.header-shell {
  min-height: 70px;
  padding: 10px 16px 10px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(51, 19, 76, 0.11);
  display: flex;
  align-items: center;
  gap: 25px;
}
.brand img {
  width: 150px;
  height: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #43205e;
}
.main-nav a {
  position: relative;
  padding: 22px 0;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--purple);
}
.header-actions {
  display: flex;
  gap: 8px;
}
.header-result,
.header-schedule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border: 1px solid #d8c6e7;
  border-radius: 9px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.action-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.header-schedule {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-size: 25px;
}
.hero-modern {
  position: relative;
  min-height: 620px;
  padding-top: 160px;
}
.hero-content {
  padding-bottom: 92px;
}
.hero-pill {
  display: inline-block;
  padding: 10px 17px;
  border: 1px solid #d7bde8;
  border-radius: 28px;
  color: #4f2371;
  font-size: 11px;
  letter-spacing: 0.07em;
}
.hero-modern h1 {
  max-width: 570px;
  margin-top: 25px;
  color: #2f1551;
  font:
    800 clamp(42px, 5vw, 68px)/0.98 Manrope,
    sans-serif;
  letter-spacing: -0.08em;
}
.hero-modern h1 em {
  color: #873bd0;
  font-style: normal;
}
.hero-modern p {
  max-width: 460px;
  margin-top: 23px;
  color: #695877;
  font-size: 16px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .button {
  gap: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 9px 20px rgba(111, 42, 173, 0.2);
}
.button-light {
  border: 1px solid var(--purple);
  color: var(--purple);
  background: rgba(255, 255, 255, 0.5);
}
.button-gold {
  background: var(--gold);
  color: #fff;
}
.hero-values {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: #5e4771;
  font-size: 12px;
}
.hero-values i {
  width: 1px;
  height: 18px;
  background: #cdb9da;
}
.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-top: -30px;
  padding: 25px 35px;
  border-radius: 18px;
  background: linear-gradient(100deg, #321451, #542180);
  color: #fff;
  box-shadow: 0 18px 30px rgba(46, 18, 70, 0.2);
}
.stats div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.stats strong {
  font:
    800 40px Manrope,
    sans-serif;
  letter-spacing: -0.06em;
}
.stats span {
  color: #e7d9ef;
  font-size: 15px;
  line-height: 1.25;
}
.stats i {
  width: 1px;
  height: 45px;
  background: rgba(255, 255, 255, 0.3);
}
.section {
  padding: 112px 0;
}
.section-heading {
  display: block;
  text-align: center;
  margin-bottom: 38px;
}
.eyebrow {
  display: block;
  color: #8b4fba;
  font:
    700 10px "DM Sans",
    sans-serif;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.section-heading h2,
.units-grid h2,
.results-section h2,
.process-section h2,
.booking h2 {
  font:
    800 clamp(40px, 4.8vw, 66px)/1.02 Manrope,
    sans-serif;
  letter-spacing: -0.08em;
}
.section-heading p {
  max-width: 300px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.services-section {
  padding-top: 124px;
}
.services-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #7a36c4;
}
.services-section .section-heading h2 {
  font-size: clamp(44px, 5.2vw, 68px);
  white-space: nowrap;
}
.services-section .section-heading h2 span {
  display: inline;
}
.services-section .section-heading h2 span + span {
  margin-left: 0.18em;
}
.services-section .section-heading h2 em {
  color: #8339df;
  font-style: normal;
}
.services-section .section-heading p {
  max-width: none;
  font-size: 14px;
  white-space: nowrap;
}
.service-grid {
  display: grid;
  max-width: 820px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  text-align: center;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 28px rgba(73, 38, 104, 0.11);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, color 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(235, 207, 255, 0.7), transparent 30%),
    linear-gradient(135deg, #8b45e1, #6d2bc6);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s ease-in-out;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #c58bff;
  box-shadow: 0 20px 34px rgba(102, 43, 175, 0.34);
  color: #fff;
}
.service-card:hover::before {
  transform: scaleY(1);
}
.service-icon {
  display: grid;
  align-self: center;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(239, 226, 252, 0.7);
  box-shadow: 0 8px 15px rgba(76, 40, 114, 0.12);
  color: var(--purple);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 25px;
}
.service-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.service-card h3 {
  font:
    700 18px Manrope,
    sans-serif;
}
.service-card p {
  max-width: 250px;
  min-height: 42px;
  margin: 8px auto 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.service-card b {
  color: var(--purple);
  align-self: center;
  margin-top: auto;
  font-size: 12px;
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease;
}
.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.service-card:hover p {
  color: #f3e9fb;
}
.service-card:hover b {
  align-self: center;
  padding: 11px 19px;
  border-radius: 999px;
  background: #fff;
  color: #7030c9;
}
.service-badge {
  position: absolute;
  top: 19px;
  left: 20px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: #7130ce;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: none;
  opacity: 1;
  transition: opacity 0.2s;
}
.service-card:hover .service-badge {
  opacity: 1;
}
.units-section {
  padding: 96px 0;
  background: rgba(245, 249, 255, 0.62);
}
.units-heading {
  max-width: none;
  margin: 0 auto 40px;
  text-align: center;
}
.units-heading h2 {
  font:
    800 clamp(36px, 4vw, 58px)/1.02 Manrope,
    sans-serif;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.units-heading h2 em {
  color: #853bd3;
  font-family: "Playfair Display", Georgia, serif;
  font-size: .94em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.035em;
  margin-left: .12em;
}
.units-heading p {
  max-width: none;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  white-space: nowrap;
}
.units-carousel {
  position: relative;
  padding: 0 28px;
}
.units-grid {
  display: grid;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 5px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.units-grid::-webkit-scrollbar {
  display: none;
}
.unit-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(49, 76, 110, 0.08);
  scroll-snap-align: start;
}
.unit-image {
  min-height: 155px;
  background: #eee center / cover no-repeat;
}
.unit-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 16px;
  text-align: center;
}
.unit-body h3 {
  font: 700 14px Manrope, sans-serif;
}
.unit-location {
  display: block;
  margin-top: 5px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
}
.unit-address {
  min-height: 3.4em;
  margin: 9px 0 0;
  color: #617089;
  font-size: 10px;
  line-height: 1.3;
}
.unit-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.unit-contacts a {
  color: var(--purple);
  font-size: 10px;
  font-weight: 700;
}
.unit-contacts a::before {
  display: none;
}
.unit-contacts a:first-child::before {
  content: "@";
}
.unit-contacts a:last-child::before {
  content: "☎";
  font-size: 11px;
}
.unit-divider {
  height: 1px;
  margin: 9px 0;
  background: #e5d7f2;
}
.unit-services-title {
  font-size: 12px;
}
.unit-services {
  display: grid;
  gap: 4px;
  justify-items: start;
  margin: 8px auto 11px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 10px;
}
.unit-services li::before {
  content: "✓";
  display: inline-grid;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border: 1px solid #0dbb55;
  border-radius: 50%;
  place-items: center;
  color: #0dbb55;
  font-size: 10px;
  font-weight: 800;
}
.unit-map-link {
  display: block;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s ease;
}
.unit-map-link:hover {
  background: var(--purple);
  color: #fff;
}
.units-carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 15px rgba(49, 76, 110, 0.1);
  color: var(--purple);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}
.units-carousel-button:hover {
  background: var(--purple);
  color: #fff;
}
.units-carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.units-previous {
  left: -24px;
}
.units-next {
  right: -24px;
}
.results-section {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: 1fr 0.8fr;
  min-height: 560px;
  margin-top: 100px;
  padding: 86px 65px 76px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(18, 5, 48, 0.2), rgba(24, 7, 58, 0.05)),
    url("results-perspective-bg.png") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.results-section .eyebrow {
  color: #d8b5ed;
}
.results-section p {
  max-width: 530px;
  margin: 18px 0;
  color: #e5d8ed;
  font-size: 17px;
  line-height: 1.5;
}
.results-section ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  color: #eadfee;
  font-size: 16px;
}
.results-section li::before {
  content: "✓";
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  background: #6b21d7;
  color: #fff;
}
.phone-art {
  display: none;
}
.phone-screen {
  display: grid;
  gap: 12px;
  padding: 33px 14px 12px;
  color: #3b1956;
  font-size: 10px;
}
.phone-screen strong {
  font-size: 13px;
}
.phone-screen b {
  padding: 5px;
  border-radius: 6px;
  background: #dff6e6;
  color: #24814b;
  font-size: 9px;
}
.process-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
  padding: 120px 0;
}
.process-section p {
  max-width: 370px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.process-section ul {
  display: grid;
  gap: 9px;
  list-style: none;
  color: #5f4d6c;
  font-size: 12px;
}
.process-section li::before {
  content: "●";
  margin-right: 9px;
  color: #9c56ce;
}
.microscope-art {
  min-height: 340px;
  border-radius: 25px;
  background:
    linear-gradient(90deg, rgba(47, 20, 69, 0.05), rgba(47, 20, 69, 0.2)),
    url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1000&q=85")
      center/cover;
}
.booking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 110px;
  padding: 55px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(81, 39, 105, 0.08);
}
.booking p {
  max-width: 330px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.booking form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.booking input,
.booking select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  color: var(--ink);
}
.booking input:focus,
.booking select:focus {
  border-color: var(--purple);
}
.booking button {
  border: 0;
}
.booking #formStatus {
  grid-column: 1/-1;
  color: #5f936e;
  font-size: 12px;
}
.site-footer {
  padding: 58px 0 22px;
  background: var(--deep);
  color: #e7d8ef;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 45px;
}
.footer-grid img {
  width: 165px;
  filter: brightness(0) invert(1);
}
.footer-grid p {
  max-width: 230px;
  margin-top: 17px;
  color: #bca6c7;
  font-size: 11px;
  line-height: 1.5;
}
.footer-grid strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 12px;
}
.footer-grid a,
.footer-grid span {
  display: block;
  margin: 9px 0;
  color: #cbb6d5;
  font-size: 11px;
}
.footer-grid a:hover {
  color: #fff;
}
.copyright {
  margin-top: 42px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #987fa7;
  font-size: 10px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 980px) {
  .main-nav {
    gap: 12px;
  }
  .header-actions {
    display: none;
  }
  .hero-modern {
    min-height: 650px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .units-grid,
  .process-section {
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 560px);
  }
  .utility-bar {
    display: none;
  }
  .site-header {
    top: 0;
    padding-top: 12px;
  }
  .header-shell {
    min-height: 68px;
    border-radius: 16px;
  }
  .brand img {
    width: 145px;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(40, 16, 68, 0.16);
  }
  .main-nav.is-open a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #f0e7f5;
  }
  .menu {
    display: block;
    margin-left: auto;
  }
  .hero-modern {
    min-height: 720px;
    padding-top: 120px;
  }
  .hero-content {
    padding-bottom: 55px;
  }
  .hero-modern h1 {
    font-size: 43px;
  }
  .hero-modern p {
    max-width: 320px;
    font-size: 14px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-values {
    flex-wrap: wrap;
    gap: 10px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
    margin-top: -24px;
    padding: 22px 18px;
  }
  .stats i {
    display: none;
  }
  .stats div {
    justify-content: flex-start;
  }
  .stats strong {
    font-size: 23px;
  }
  .stats span {
    font-size: 10px;
  }
  .section {
    padding: 78px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 15px;
  }
  .units-heading p {
    white-space: normal;
  }
  .results-section {
    width: 100%;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .units-grid,
  .process-section,
  .results-section,
  .booking {
    grid-template-columns: 1fr;
  }
  .units-section {
    padding: 70px 0;
  }
  .map-art {
    min-height: 220px;
  }
  .results-section {
    margin-top: 50px;
    padding: 35px 25px;
    min-height: 600px;
    background-position: 64% center;
  }
  .phone-art {
    justify-self: center;
  }
  .process-section {
    gap: 34px;
    padding: 78px 0;
  }
  .microscope-art {
    min-height: 250px;
  }
  .booking {
    gap: 35px;
    margin-bottom: 70px;
    padding: 28px 22px;
  }
  .booking form {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 18px;
  }
  .copyright {
    margin-top: 28px;
  }
}
@media (max-width: 850px) {
  .units-grid {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 18px) / 2);
  }
  .units-carousel-button {
    width: 46px;
    height: 46px;
    font-size: 30px;
  }
  .units-previous {
    left: -23px;
  }
  .units-next {
    right: -23px;
  }
}
@media (max-width: 560px) {
  .units-section {
    padding: 70px 0;
  }
  .units-heading h2 {
    white-space: normal;
  }
  .units-carousel {
    padding: 0 20px;
  }
  .units-grid {
    grid-template-columns: none;
    grid-auto-columns: 100%;
  }
  .units-carousel-button {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
  .units-previous {
    left: -18px;
  }
  .units-next {
    right: -18px;
  }
}
@media (max-width: 1120px) and (min-width: 851px) {
  .units-grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

/* Home refresh: preserve the brand palette with generous white space and a people-first hero. */
:root {
  --purple: #6f2aad;
  --deep: #281044;
  --ink: #25113d;
  --muted: #766a83;
  --lavender: #f5effa;
  --line: #e6d8ef;
  --gold: #d1a35b;
}

body {
  background: #ffffff;
  color: var(--ink);
}

.utility-bar {
  display: none;
}

.site-header {
  position: relative;
  top: 0;
  padding: 0;
  border-bottom: 1px solid #e1e8ed;
  background: rgba(255, 255, 255, 0.96);
}

.header-shell {
  min-height: 66px;
  width: min(1180px, calc(100% - 72px));
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 142px;
}

.main-nav {
  gap: 22px;
  color: #43205e;
  font-size: 11px;
  font-weight: 500;
}

.main-nav a {
  padding: 18px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-result {
  padding: 9px 13px;
  border-color: #cdb9df;
  border-radius: 3px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 600;
}

.hero-modern {
  min-height: 430px;
  padding-top: 0;
  overflow: hidden;
  background: #ffffff;
}

.hero-layout {
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(390px, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 32px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526978;
  font-size: 10px;
  font-weight: 500;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.avatar-stack i {
  display: grid;
  width: 22px;
  height: 22px;
  margin-left: -4px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d8a475;
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.avatar-stack i:nth-child(2) { background: #587e9d; }
.avatar-stack i:nth-child(3) { background: #b86d62; }
.avatar-stack i:nth-child(4) { background: #36556d; }

.hero-modern h1 {
  max-width: 550px;
  margin-top: 20px;
  color: #2f1551;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero-modern h1 em {
  color: #873bd0;
  font-style: normal;
}

.hero-modern p {
  max-width: 390px;
  margin-top: 16px;
  color: #695877;
  font-size: 13px;
  line-height: 1.45;
}

.hero-actions {
  gap: 10px;
  margin-top: 20px;
}

.button {
  padding: 11px 15px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.01em;
}

.button-primary {
  background: #6f2aad;
  box-shadow: 0 7px 16px rgba(111, 42, 173, 0.18);
}

.button-light {
  border-color: #b996d1;
  background: #fff;
  color: #6f2aad;
}

.hero-visual {
  position: relative;
  left: -64px;
  align-self: stretch;
  min-height: 430px;
  overflow: visible;
}

.hero-visual-shape {
  position: absolute;
  z-index: 0;
  top: 62px;
  right: -110px;
  width: 470px;
  height: 315px;
  border-radius: 48% 52% 38% 62% / 42% 44% 56% 58%;
  background: #6f2aad;
  transform: rotate(-8deg);
}

.hero-visual img {
  position: absolute;
  z-index: 1;
  inset: 0 -110px 0 -18px;
  width: calc(100% + 128px);
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
  filter: saturate(0.84) contrast(0.98);
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, 0.5) 23%, #000 46%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, 0.5) 23%, #000 46%, #000 100%);
}

.hero-chip,
.hero-callout {
  position: absolute;
  z-index: 3;
  border: 1px solid #e6d8ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 16px rgba(18, 59, 89, 0.1);
  color: #604d70;
  font-size: 9px;
  white-space: nowrap;
}

.hero-chip {
  right: 8px;
  padding: 8px 12px;
}

.hero-chip-top { top: 160px; }
.hero-chip-bottom { top: 205px; right: -10px; }

.hero-callout {
  bottom: 52px;
  left: 72px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px 9px 9px;
  border-radius: 5px;
  color: #6f2aad;
  line-height: 1.25;
}

.hero-callout b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #f5effa;
  font-size: 14px;
}

.hero-callout strong { font-weight: 700; }

.stats {
  z-index: 4;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  margin-top: -20px;
  padding: 23px 28px;
  border: 1px solid #e6d8ef;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.96);
  color: #25113d;
  box-shadow: 0 12px 24px rgba(81, 39, 105, 0.1);
}

.stats div {
  gap: 6px;
  flex-direction: column;
  text-align: center;
}

.stats strong {
  color: #6f2aad;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.stats span {
  color: #665a6d;
  font-size: 10px;
  line-height: 1.25;
}

.stats i {
  height: 40px;
  background: #e6d8ef;
}

.services-section {
  padding-top: 110px;
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(350px, 0.95fr) minmax(360px, 1.05fr);
  }
  .hero-visual { left: 0; }
  .main-nav { gap: 13px; }
}

@media (max-width: 700px) {
  .header-shell {
    width: min(100% - 32px, 560px);
  }

  .hero-modern {
    min-height: 700px;
  }

  .hero-layout {
    display: flex;
    min-height: 700px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    padding: 50px 0 0;
  }

  .hero-modern h1 {
    font-size: 41px;
  }

  .hero-modern p { max-width: 330px; }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-visual {
    min-height: 310px;
    margin-top: -6px;
  }

  .hero-visual img {
    inset: 0 -80px 0 -15px;
    width: calc(100% + 95px);
    object-position: 78% center;
  }

  .hero-visual-shape {
    top: 44px;
    right: -80px;
    width: 360px;
    height: 235px;
  }

  .hero-chip-top { top: 86px; right: 0; }
  .hero-chip-bottom { top: 130px; right: -4px; }
  .hero-callout { bottom: 20px; left: 0; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 8px;
    margin-top: -15px;
    padding: 20px 12px;
  }

  .stats i { display: none; }
  .stats strong { font-size: 22px; }
  .stats span { font-size: 9px; }
}

/* Interface system: Bootstrap 5 layout with a custom Carlos Ribeiro identity. */
:root {
  --purple: #5b2a86;
  --purple-dark: #32184d;
  --violet: #8b46c7;
  --aqua: #148f94;
  --ink: #1d2939;
  --muted: #667085;
  --lavender: #f6f1fb;
  --line: #e8e1ef;
}

body { background: #fff; color: var(--ink); }
.container { width: min(1180px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0;
  border-bottom: 1px solid rgba(232, 225, 239, .9);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 24px rgba(39, 19, 62, .06);
  backdrop-filter: blur(14px);
}

.header-shell { min-height: 72px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 18px; }
.brand { height: 72px; display: flex; align-items: center; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 96px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; color: #4b3760; font-size: 12px; }
.main-nav a { padding: 10px 12px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.main-nav a::after { display: none; }
.main-nav a:hover, .main-nav a.active { background: var(--lavender); color: var(--purple); }
.header-actions { margin-left: 8px; }
.header-result { padding: 12px 17px; border: 0; border-radius: 999px; background: var(--purple); color: #fff; box-shadow: 0 8px 16px rgba(91, 42, 134, .18); }
.header-result:hover { color: #fff; box-shadow: 0 12px 22px rgba(91, 42, 134, .24); transform: translateY(-2px); }
.menu { display: none; padding: 8px 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--purple); font-size: 22px; line-height: 1; }

.hero-modern { min-height: 520px; padding: 0; overflow: hidden; background: radial-gradient(circle at 92% 22%, rgba(178, 131, 214, .25), transparent 28%), linear-gradient(120deg, #fff 0%, #fbf8fd 53%, #f3edf9 100%); }
.hero-layout { display: flex; min-height: 520px; align-items: stretch; }
.hero-content { position: relative; z-index: 2; padding: 82px 28px 90px 0; }
.hero-proof { color: #607486; font-size: 11px; }
.hero-modern h1 { max-width: 650px; margin-top: 22px; color: var(--purple-dark); font-size: clamp(38px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.06em; }
.hero-title-line { white-space: nowrap; }
.hero-modern h1 em, .section-heading h2 em, .units-heading h2 em { color: var(--violet); }
.hero-modern p { max-width: 430px; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hero-actions { align-items: flex-start; justify-content: flex-start; gap: 12px; margin-top: 16px; margin-left: 0; padding-left: 0; }
.hero-actions { transform: translateX(-12px); }
.hero-actions .button { min-height: 40px; padding: 10px 16px; font-size: 11px; }
.hero-actions .action-icon { width: 14px; height: 14px; }
.button { min-height: 46px; padding: 13px 20px; border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--purple); box-shadow: 0 10px 20px rgba(91, 42, 134, .2); }
.button-primary:hover { background: #48206f; }
.hero-actions .button-primary:hover { color: #fff; }
.button-light { border: 1px solid #cdb9df; background: #fff; color: var(--purple); }
.button-light:hover { background: var(--lavender); color: var(--purple); }
.hero-visual { left: 0; flex: 0 0 auto; min-height: 590px; }
.hero-visual-shape { top: 86px; right: -155px; width: 570px; height: 365px; background: linear-gradient(145deg, #6f2aad, #8d47c9); opacity: .98; }
.hero-visual img { inset: 0 -120px 0 -18px; width: calc(100% + 138px); object-position: 76% center; }
.hero-callout { bottom: 48px; left: 34px; padding: 11px 16px 11px 10px; border-color: rgba(220, 201, 234, .9); border-radius: 12px; font-size: 10px; box-shadow: 0 10px 24px rgba(41, 22, 60, .12); }

.stats { margin-top: -28px; padding: 23px 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 16px 34px rgba(91, 42, 134, .2); }
.stats strong { color: var(--purple); font-size: 28px; }
.stats span { color: #687384; font-size: 11px; }
.stats i { background: var(--line); }
.section { padding: 112px 0; }
.section-heading { margin-bottom: 42px; }
.eyebrow { color: var(--aqua); font-size: 10px; letter-spacing: .16em; }
.section-heading h2, .units-grid h2, .results-section h2, .process-section h2, .booking h2 { color: var(--purple-dark); font-size: clamp(34px, 4.5vw, 58px); }
.section-heading p { color: var(--muted); font-size: 14px; }
.services-section { padding-top: 80px; }
.services-eyebrow { color: var(--aqua); }
.services-section .section-heading h2 { font-size: clamp(40px, 5vw, 62px); }
.services-section .section-heading p { white-space: normal; }
.services-section .section-heading h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
}
.services-section .section-heading h2 em {
  font-family: "Playfair Display", Georgia, serif;
  font-size: .94em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.035em;
}
.service-grid { display: flex; flex-wrap: wrap; max-width: 1080px; margin: 0 auto; }
.service-card { min-height: 235px; padding: 26px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(50, 29, 72, .07); }
.service-card.col-lg-3 { flex: 0 0 calc(25% - 15px); width: calc(25% - 15px); max-width: calc(25% - 15px); }
.service-card:hover { border-color: #bd8fe0; box-shadow: 0 18px 34px rgba(91, 42, 134, .18); }
.service-icon { width: 58px; height: 58px; margin-bottom: 16px; border: 0; background: var(--lavender); color: var(--purple); box-shadow: none; }
.service-card h3 { color: var(--purple-dark); font-size: 16px; }
.service-card p { color: var(--muted); font-size: 12px; }

.units-section, .locator-section { background: #f8fafc; }
.units-heading h2 { font-size: clamp(34px, 4vw, 56px); }
.units-heading p { white-space: normal; color: var(--muted); }
.unit-card { border-color: var(--line); border-radius: 16px; box-shadow: 0 10px 24px rgba(40, 48, 68, .07); }
.unit-map-link { border-radius: 999px; }
.units-carousel-button { border-color: #d9c6e6; color: var(--purple); }

.results-section { width: 100%; max-width: none; min-height: 520px; margin-top: 96px; padding: 80px max(40px, calc((100vw - 1080px) / 2)); border-radius: 0; background: linear-gradient(90deg, rgba(35, 15, 56, .88), rgba(66, 26, 89, .48)), url("results-perspective-bg.png") center / cover no-repeat; }
.results-copy { max-width: 530px; }
.results-section h2 { color: #fff; }
.results-section p { color: #eadff0; font-size: 16px; }
.results-section ul { color: #f7f0fa; font-size: 14px; }
.button-gold { background: #d29b46; }
.button-gold:hover { background: #b98232; }
.process-section { gap: 70px; padding: 112px 0; }
.process-copy { min-width: 0; }
.process-section p { color: var(--muted); font-size: 14px; }
.process-section ul { color: #5b6674; font-size: 13px; }
.microscope-art { border-radius: 28px; box-shadow: 0 18px 38px rgba(47, 28, 67, .12); }
.booking { gap: 58px; margin-bottom: 100px; padding: 54px; border-color: var(--line); border-radius: 24px; box-shadow: 0 16px 36px rgba(50, 29, 72, .08); }
.booking p { color: var(--muted); font-size: 14px; }
.booking input, .booking select, .booking .form-control, .booking .form-select { min-height: 48px; padding: 13px 15px; border-color: var(--line); border-radius: 10px; color: var(--ink); }
.booking input:focus, .booking select:focus { border-color: var(--violet); box-shadow: 0 0 0 .2rem rgba(139, 70, 199, .13); }
.locator-panel { border-color: var(--line); border-radius: 24px; box-shadow: 0 16px 34px rgba(50, 29, 72, .08); }
.locator-card, .locator-map { border-color: var(--line); border-radius: 18px; }
.locator-contact { border-radius: 999px; background: var(--purple); }
.locator-route { border-radius: 999px !important; }
.site-footer { background: var(--purple-dark); }

@media (max-width: 991px) {
  .header-actions { display: none; }
  .menu { display: block; margin-left: auto; }
  .main-nav { display: none; }
  .main-nav.is-open { display: flex; position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; align-items: stretch; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 36px rgba(40, 16, 68, .14); }
  .main-nav.is-open a { padding: 12px 14px; border-radius: 10px; }
  .hero-modern, .hero-layout { min-height: 0; }
  .hero-layout { flex-direction: column; }
  .hero-content, .hero-visual { flex-basis: auto; max-width: 100%; }
  .hero-content { padding: 82px 0 34px; }
  .hero-visual { min-height: 430px; }
  .hero-visual-shape { right: -130px; }
  .hero-visual img { inset: 0 -100px 0 -20px; width: calc(100% + 120px); }
  .results-section { padding: 70px 40px; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 32px, 560px); }
  .header-shell { min-height: 64px; }
  .brand { height: 64px; }
  .brand img { width: 118px; }
  .hero-content { padding-top: 62px; }
  .hero-modern h1 { font-size: 42px; }
  .hero-title-line { white-space: normal; }
  .hero-actions { flex-direction: column; align-items: flex-start; transform: none; }
  .hero-visual { min-height: 350px; }
  .hero-visual img { inset: 0 -80px 0 -15px; width: calc(100% + 95px); }
  .hero-visual-shape { top: 48px; right: -80px; width: 360px; height: 240px; }
  .hero-callout { bottom: 18px; left: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 8px; padding: 20px 14px; }
  .stats i { display: none; }
  .stats div { justify-content: flex-start; }
  .section { padding: 78px 0; }
  .services-section .section-heading h2 { white-space: normal; }
  .service-card { min-height: 235px; }
  .results-section { min-height: 540px; margin-top: 54px; padding: 54px 24px; }
  .process-section { gap: 36px; padding: 78px 0; }
  .booking { gap: 34px; padding: 28px 22px; }
}

@media (min-width: 992px) {
  .stats {
    width: 100%;
    max-width: none;
    padding: 14px 30px;
  }

  .stats div { gap: 2px; }
  .stats i { height: 30px; }
  .stats span { white-space: nowrap; }

  .hero-modern {
    background: #fff url("hero-microscope.png") center center / cover no-repeat;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img,
  .hero-visual-shape {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .service-card.col-md-6 { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); max-width: calc(50% - 10px); }
}

@media (max-width: 767px) {
  .service-card.col-md-6 { flex: 0 0 100%; width: 100%; max-width: 100%; }
}

/* Dark theme: Carlos Ribeiro purple accent. */
:root {
  --purple: #a84ce3;
  --purple-dark: #1b0d29;
  --violet: #c47af4;
  --aqua: #d4b0f2;
  --ink: #f7f0fc;
  --muted: #b9a9c5;
  --lavender: #2b183a;
  --line: #4b2e5e;
}

body {
  background: #100817;
  color: var(--ink);
}

.site-header {
  border-color: rgba(168, 76, 227, .24);
  background: rgba(16, 8, 23, .92);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}

.header-shell { background: transparent; }
.main-nav { color: #d8c8e1; }
.main-nav .nav-link { color: #f4eafa; }
.main-nav a:hover, .main-nav a.active { background: rgba(168, 76, 227, .2); color: #fff; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 12px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #1b0d29; color: #f4eafa; font: inherit; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.theme-icon { width: 17px; height: 17px; }
.theme-icon-moon { display: none; }
body.light-mode .theme-icon-sun { display: none; }
body.light-mode .theme-icon-moon { display: block; }
.theme-toggle:hover { border-color: var(--violet); background: rgba(168, 76, 227, .2); color: #fff; }
.header-result { background: var(--purple); color: #fff; box-shadow: 0 8px 18px rgba(168, 76, 227, .28); }
.header-result:hover { background: #b95bed; color: #fff; }
.menu { border-color: var(--line); background: #1b0d29; color: var(--violet); }

.hero-modern {
  background:
    linear-gradient(90deg, rgba(16, 8, 23, .98) 0%, rgba(16, 8, 23, .86) 46%, rgba(16, 8, 23, .38) 100%),
    url("hero-microscope.png") center center / cover no-repeat;
}

.hero-modern h1 { color: #fff; }
.hero-modern h1 em { color: var(--violet); }
.hero-proof, .hero-modern p { color: #d1c1dc; }
.button-primary { background: var(--purple); box-shadow: 0 10px 22px rgba(168, 76, 227, .28); }
.button-primary:hover { background: #bd5ff0; }
.button-light { border-color: rgba(196, 122, 244, .72); background: rgba(27, 13, 41, .55); color: #f5e8ff; }
.button-light:hover { background: rgba(168, 76, 227, .22); color: #fff; }

.stats {
  border-color: var(--line);
  background: rgba(27, 13, 41, .96);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
}
.stats strong { color: var(--violet); }
.stats span { color: #c8b8d2; }
.stats i { background: var(--line); }

.services-section, .section { background: #100817; }
.section-heading h2, .units-grid h2, .results-section h2, .process-section h2, .booking h2 { color: #fff; }
.section-heading p, .units-heading p { color: var(--muted); }
.eyebrow, .services-eyebrow { color: var(--violet); }

.service-card {
  border-color: var(--line);
  background: #1a0e25;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}
.service-card h3 { color: #fff; }
.service-card p { color: var(--muted); }
.service-icon { background: #2b183a; color: var(--violet); }
.service-badge { background: var(--purple); }
.service-card:hover { border-color: var(--violet); box-shadow: 0 18px 34px rgba(168, 76, 227, .24); }
.service-card:hover h3 { color: #fff; }

.units-section, .locator-section { background: #140a1d; }
.unit-card, .locator-card, .locator-map { border-color: var(--line); background: #1a0e25; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.unit-body h3, .locator-card-top h3 { color: #fff; }
.unit-address, .unit-services, .locator-description, .locator-data p span { color: var(--muted); }
.unit-map-link, .locator-route { border-color: var(--violet); color: var(--violet); }
.unit-map-link:hover, .locator-route:hover { background: var(--purple); color: #fff; }
.units-carousel-button, .locator-control { border-color: var(--line); background: #1b0d29; color: var(--violet); }
.units-carousel-button:hover, .locator-control:hover { background: var(--purple); color: #fff; }

.results-section { background: linear-gradient(90deg, rgba(16, 8, 23, .94), rgba(54, 20, 73, .72)), url("results-perspective-bg.png") center / cover no-repeat; }
.results-section p, .results-section ul { color: #e3d5eb; }

.process-section p, .process-section ul { color: var(--muted); }
.booking { border-color: var(--line); background: #1a0e25; box-shadow: 0 16px 36px rgba(0, 0, 0, .24); }
.booking p { color: var(--muted); }
.booking input, .booking select, .booking .form-control, .booking .form-select { border-color: var(--line); background: #100817; color: #fff; }
.booking input::placeholder { color: #8f7d9d; }
.booking input:focus, .booking select:focus { border-color: var(--violet); background: #100817; color: #fff; box-shadow: 0 0 0 .2rem rgba(168, 76, 227, .18); }

.locator-panel { border-color: var(--line); background: #1a0e25; box-shadow: 0 16px 34px rgba(0, 0, 0, .24); }
.locator-card-logo { border-color: var(--line); background: #2b183a; }
.locator-card-top span, .locator-data a, .locator-data strong { color: #eadcf3; }
.locator-data > div > svg { border-color: var(--line); color: var(--violet); }
.locator-contact { background: var(--purple); }
.site-footer { background: #0b0510; }

@media (max-width: 991px) {
  .main-nav.is-open { border-color: var(--line); background: #1a0e25; }
  .main-nav.is-open a { color: #e7d8ef; }
  .theme-toggle { justify-content: flex-start; width: 100%; height: auto; margin-left: 0; padding: 12px 14px; border: 0; border-radius: 10px; }
}

@media (max-width: 767px) {
  .brand img { width: 90px; }
}

/* Light mode overrides for the theme switcher. */
body.light-mode {
  --purple: #6f2aad;
  --purple-dark: #281044;
  --violet: #873bd0;
  --aqua: #148f94;
  --ink: #25113d;
  --muted: #766a83;
  --lavender: #f5effa;
  --line: #e6d8ef;
  background: #fff;
  color: var(--ink);
}

body.light-mode .site-header { border-color: #e1e8ed; background: rgba(255, 255, 255, .94); box-shadow: 0 5px 24px rgba(39, 19, 62, .06); }
body.light-mode .main-nav .nav-link { color: #4b3760; }
body.light-mode .main-nav a:hover, body.light-mode .main-nav a.active { background: var(--lavender); color: var(--purple); }
body.light-mode .theme-toggle { border-color: var(--line); background: #fff; color: var(--purple); }
body.light-mode .theme-toggle:hover { background: var(--lavender); color: var(--purple); }
body.light-mode .menu { border-color: var(--line); background: #fff; color: var(--purple); }
body.light-mode .brand img,
body.light-mode .locator-card-logo img { filter: brightness(0) saturate(100%) invert(23%) sepia(29%) saturate(2400%) hue-rotate(252deg) brightness(84%) contrast(92%); }
body.light-mode .hero-modern { background: #fff url("hero-microscope.png") center center / cover no-repeat; }
body.light-mode .hero-modern h1 { color: #2f1551; }
body.light-mode .hero-modern h1 em { color: #873bd0; }
body.light-mode .hero-proof, body.light-mode .hero-modern p { color: #695877; }
body.light-mode .button-light { border-color: #cdb9df; background: #fff; color: var(--purple); }
body.light-mode .button-light:hover { background: var(--lavender); color: var(--purple); }
body.light-mode .stats { border-color: var(--line); background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 16px 34px rgba(91, 42, 134, .2); }
body.light-mode .stats strong { color: var(--purple); }
body.light-mode .stats span { color: #687384; }
body.light-mode .stats i { background: var(--line); }
body.light-mode .services-section, body.light-mode .section { background: #fff; }
body.light-mode .section-heading h2, body.light-mode .units-grid h2, body.light-mode .process-section h2, body.light-mode .booking h2 { color: var(--purple-dark); }
body.light-mode .section-heading p, body.light-mode .units-heading p { color: var(--muted); }
body.light-mode .service-card { border-color: var(--line); background: #fff; box-shadow: 0 10px 28px rgba(50, 29, 72, .07); }
body.light-mode .service-card h3 { color: var(--purple-dark); }
body.light-mode .service-card p { color: var(--muted); }
body.light-mode .service-icon { background: var(--lavender); color: var(--purple); }
body.light-mode .units-section, body.light-mode .locator-section { background: #f8fafc; }
body.light-mode .unit-card, body.light-mode .locator-card, body.light-mode .locator-map { border-color: var(--line); background: #fff; box-shadow: 0 10px 24px rgba(40, 48, 68, .07); }
body.light-mode .unit-body h3, body.light-mode .locator-card-top h3 { color: var(--purple-dark); }
body.light-mode .unit-address, body.light-mode .unit-services, body.light-mode .locator-description, body.light-mode .locator-data p span { color: var(--muted); }

/* Service cards inspired by the new reference layout. */
.service-card {
  min-height: 365px;
  padding: 36px 34px 30px;
  align-items: flex-start;
  text-align: left;
  border-radius: 24px;
  overflow: hidden;
}
.service-card::before { display: none; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 34px;
  align-self: flex-start;
  border-radius: 16px;
  background: #fff;
  color: #68717b;
}
.service-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.2;
  white-space: nowrap;
}
.service-card p {
  width: 100%;
  max-width: 290px;
  min-height: 66px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}
.service-card b {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  align-self: flex-start;
  margin-top: auto;
  padding: 13px 18px;
  border-radius: 10px;
  background: #fff;
  color: #293b57;
  font-size: 16px;
  line-height: 1;
}
.service-card:hover { transform: translateY(-5px); }
.service-card:hover .service-icon { background: #fff; color: var(--purple); }
.service-card:hover p { color: inherit; }
.service-card:hover b { align-self: flex-start; padding: 13px 18px; background: #fff; color: #293b57; }
.service-badge { top: 28px; left: 30px; transform: none; }

body:not(.light-mode) .service-card b { background: var(--purple); color: #fff; }
body:not(.light-mode) .service-card:hover b { background: var(--violet); color: #fff; }
body:not(.light-mode) .service-card .service-icon { background: #fff; color: #68717b; }
body.light-mode .service-card { background: #e9e9e9; box-shadow: 0 12px 26px rgba(37, 40, 48, .16); }
body.light-mode .service-card:hover { background: #e9e9e9; }
body.light-mode .service-card b { background: #fff; color: #293b57; }

@media (max-width: 991px) {
  .service-card { min-height: 340px; padding: 30px 26px 26px; }
}

@media (max-width: 767px) {
  .service-card { min-height: 330px; }
  .service-card h3 { white-space: normal; }
}
body.light-mode .locator-card-top span, body.light-mode .locator-data a, body.light-mode .locator-data strong { color: #39244b; }
.hero-proof { transform: translate(8px, 10px); }

.services-brand-mark {
  display: block;
  width: 88px;
  height: 102px;
  margin: 0 auto 10px;
  transform: translateY(-8px);
}
.services-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.services-brand-mark-light { display: none; }
body.light-mode .services-brand-mark-dark { display: none; }
body.light-mode .services-brand-mark-light { display: block; }
body.light-mode .booking { border-color: var(--line); background: #fff; box-shadow: 0 16px 36px rgba(50, 29, 72, .08); }
body.light-mode .booking p { color: var(--muted); }
body.light-mode .booking input, body.light-mode .booking select, body.light-mode .booking .form-control, body.light-mode .booking .form-select { border-color: var(--line); background: #fff; color: var(--ink); }
body.light-mode .booking input::placeholder { color: #8b7c96; }
body.light-mode .locator-panel { border-color: var(--line); background: #fff; box-shadow: 0 16px 34px rgba(50, 29, 72, .08); }
body.light-mode .locator-card-logo { border-color: var(--line); background: linear-gradient(145deg, #fff, #f5effa); }
body.light-mode .site-footer { background: #281044; }

/* Service cards: photographic tiles with consistent content and actions. */
.service-card {
  min-height: 430px;
  padding: 24px;
  align-items: center;
  text-align: center;
}
.service-photo {
  display: block;
  width: 100%;
  height: 142px;
  margin: 0 0 26px;
  overflow: hidden;
  border-radius: 16px;
  background: #eee8f5;
}
.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}
.service-card:nth-child(1) .service-photo img { object-position: 78% center; }
.service-card:nth-child(2) .service-photo img { object-position: 68% center; }
.service-card:nth-child(3) .service-photo img { object-position: 82% center; }
.service-card:nth-child(4) .service-photo img { object-position: 100% center; }
.service-card:hover .service-photo img { transform: scale(1.05); }
.service-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
  white-space: normal;
}
.service-card p {
  max-width: 290px;
  min-height: 70px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.service-card b {
  align-self: center;
  margin-top: auto;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 15px;
}
.service-card:hover {
  transform: translateY(-6px);
}
.service-card:hover::before {
  transform: scaleY(0);
}
.service-card:hover b {
  align-self: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #fff;
  color: #293b57;
}
body.light-mode .service-card:nth-child(odd),
body.light-mode .service-card:nth-child(odd):hover {
  border-color: #c9a4e7;
  background: #d9b8ef;
  color: #351052;
}
body.light-mode .service-card:nth-child(odd) h3 {
  color: #351052;
}
body.light-mode .service-card:nth-child(odd) p {
  color: #725d83;
}
body.light-mode .service-card:nth-child(odd) b,
body.light-mode .service-card:nth-child(odd):hover b {
  background: #fff;
  color: #351052;
}
body.light-mode .service-card:nth-child(even),
body.light-mode .service-card:nth-child(even):hover {
  border-color: #cfe4f3;
  background: #e5f2fc;
}
body.light-mode .service-card h3 {
  color: #351052;
}
body.light-mode .service-card p {
  color: #725d83;
}
body.light-mode .service-card:nth-child(even) h3 {
  color: #fff;
}
body.light-mode .service-card:nth-child(even) p {
  color: rgba(255, 255, 255, .82);
}
body.light-mode .service-card,
body.light-mode .service-card:nth-child(n),
body.light-mode .service-card:nth-child(n):hover {
  border-color: #442466;
  background: #2a1347;
  color: #fff;
}
body.light-mode .service-card:nth-child(n) h3 {
  color: #fff;
}
body.light-mode .service-card:nth-child(n) p {
  color: #f0e7fa;
}
body.light-mode .service-card b,
body.light-mode .service-card:hover b {
  background: #fff;
  color: #351052;
}

@media (max-width: 991px) {
  .service-card { min-height: 410px; }
}

/* Compact service card layout matching the light reference. */
body.light-mode .service-card:nth-child(odd),
body.light-mode .service-card:nth-child(odd):hover {
  border-color: #dfc9f2;
  background: #f2e8fb;
}
body.light-mode .service-card:nth-child(even),
body.light-mode .service-card:nth-child(even):hover {
  border-color: #cfe5f4;
  background: #eaf5fc;
}
body.light-mode .service-card,
body.light-mode .service-card:hover {
  min-height: 390px;
  padding: 0 18px 20px;
  overflow: hidden;
  color: #291044;
}
body.light-mode .service-photo {
  width: calc(100% + 36px);
  height: 150px;
  margin: 0 -18px;
  border-radius: 24px 24px 0 0;
}
body.light-mode .service-photo img {
  transform: none;
}
body.light-mode .service-card:hover .service-photo img {
  transform: scale(1.04);
}
body.light-mode .service-icon,
body.light-mode .service-card:hover .service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: -12px auto 14px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(111, 42, 173, .18);
  border-radius: 50%;
  background: #f1ebf8;
  color: #7434c0;
  transform: translateY(18px);
}
body.light-mode .service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
body.light-mode .service-card h3 {
  max-width: 170px;
  margin: 20px auto 10px;
  color: #291044;
  font-size: 16px;
  line-height: 1.12;
}
body.light-mode .service-card p {
  max-width: 190px;
  min-height: 62px;
  margin: 0 auto;
  color: #655477;
  font-size: 12px;
  line-height: 1.4;
}
body.light-mode .service-card b,
body.light-mode .service-card:hover b {
  min-height: auto;
  margin-top: auto;
  padding: 0 0 5px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #6230ad;
  font-size: 12px;
}
body.light-mode .service-card:nth-child(even) .service-icon {
  color: #2771c5;
  border-color: rgba(39, 113, 197, .18);
}
body.light-mode .service-card:nth-child(even) b {
  color: #2771c5;
}
body.light-mode .service-card:nth-child(n),
body.light-mode .service-card:nth-child(n):hover {
  border-color: #442466;
  background: #2a1347;
  color: #fff;
}
body.light-mode .service-card:nth-child(n) h3 {
  color: #fff;
}
body.light-mode .service-card:nth-child(n) p {
  color: #f0e7fa;
}
body.light-mode .service-card:nth-child(n) b,
body.light-mode .service-card:nth-child(n):hover b {
  display: inline-flex;
  align-self: center;
  min-height: auto;
  margin-top: 18px;
  padding: 0 0 5px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #fff;
}
main {
  display: flex;
  flex-direction: column;
}
main > .hero-modern { order: 1; }
main > .stats { order: 2; }
main > .units-section { order: 3; }
main > .services-section { order: 4; }
main > .results-section { order: 5; }
main > .process-section { order: 6; }
main > .booking { order: 7; }
main > .locator-section { order: 8; }
body.light-mode .service-grid {
  margin-top: -20px;
}
@media (min-width: 992px) {
  body {
    zoom: 1.1;
  }
  .hero-modern h1 em {
    white-space: nowrap;
  }
}
body.light-mode .units-carousel-button,
body.light-mode .locator-control {
  border-color: #8b47d1;
  background: #8b47d1;
  color: #fff;
}
body.light-mode .units-carousel-button:hover,
body.light-mode .locator-control:hover {
  border-color: #7432bd;
  background: #7432bd;
  color: #fff;
}
.service-grid {
  margin-top: -20px;
}
@media (min-width: 768px) {
  .services-section {
    padding-top: 60px;
  }
}
@media (min-width: 768px) {
  .services-section {
    margin-top: -42px;
    padding-top: 20px;
  }
}
@media (min-width: 768px) {
  .results-section {
    margin-top: 10px;
  }
}
body:not(.light-mode) .service-card,
body:not(.light-mode) .service-card:hover {
  min-height: 390px;
  padding: 0 18px 20px;
  overflow: hidden;
  border-color: #442466;
  background: #2a1347;
  color: #fff;
}

/* Unit cards: refined dark-mode treatment. */
body:not(.light-mode) .units-section {
  background: radial-gradient(circle at 50% 0%, rgba(104, 38, 158, .16), transparent 42%), #100817;
}
body:not(.light-mode) .units-heading h2 { color: #fff; }
body:not(.light-mode) .units-heading h2 em { color: #c47af4; }
body:not(.light-mode) .units-heading p { color: #b9a9c5; }
body:not(.light-mode) .unit-card {
  border-color: #4b2e5e;
  background: linear-gradient(180deg, #29113f 0%, #1a0e25 62%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(196, 122, 244, .08);
}
body:not(.light-mode) .unit-image { filter: brightness(.82) saturate(.9); }
body:not(.light-mode) .unit-body h3 { color: #fff; }
body:not(.light-mode) .unit-location,
body:not(.light-mode) .unit-contacts a { color: #c47af4; }
body:not(.light-mode) .unit-address,
body:not(.light-mode) .unit-services { color: #c9b8d5; }
body:not(.light-mode) .unit-divider { background: #4b2e5e; }
body:not(.light-mode) .unit-services-title { color: #f7f0fc; }
body:not(.light-mode) .unit-map-link {
  border-color: #c47af4;
  background: rgba(168, 76, 227, .08);
  color: #c47af4;
}
body:not(.light-mode) .unit-map-link:hover { background: #a84ce3; color: #fff; }
body:not(.light-mode) .main-nav .nav-link,
body:not(.light-mode) .main-nav .nav-link:hover,
body:not(.light-mode) .main-nav .nav-link.active { color: #fff !important; }
body:not(.light-mode) .units-carousel-button {
  border-color: #4b2e5e;
  background: #1b0d29;
  color: #c47af4;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}
body:not(.light-mode) .units-carousel-button:hover { background: #a84ce3; color: #fff; }
body:not(.light-mode) .service-photo {
  width: calc(100% + 36px);
  height: 150px;
  margin: 0 -18px;
  border-radius: 24px 24px 0 0;
}
body:not(.light-mode) .service-photo img {
  transform: none;
}
body:not(.light-mode) .service-card:hover .service-photo img {
  transform: scale(1.04);
}
body:not(.light-mode) .service-icon,
body:not(.light-mode) .service-card:hover .service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: -12px auto 14px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(111, 42, 173, .18);
  border-radius: 50%;
  background: #f1ebf8;
  color: #7434c0;
  transform: translateY(24px);
}
body:not(.light-mode) .service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
body:not(.light-mode) .service-card h3 {
  max-width: 170px;
  margin: 20px auto 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.12;
}
body:not(.light-mode) .service-card p {
  max-width: 190px;
  min-height: 62px;
  margin: 0 auto;
  color: #f0e7fa;
  font-size: 12px;
  line-height: 1.4;
}
body:not(.light-mode) .service-card:nth-child(n) b,
body:not(.light-mode) .service-card:nth-child(n):hover b {
  display: inline-flex;
  align-self: center;
  min-height: auto;
  margin-top: 18px;
  padding: 0 0 5px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #fff;
  font-size: 12px;
}
body:not(.light-mode) .service-card:nth-child(even) .service-icon {
  color: #2771c5;
  border-color: rgba(39, 113, 197, .18);
}

/* Results access panel placed in the previously empty side of the section. */
.results-access {
  display: flex;
  width: min(100%, 490px);
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  align-self: center;
  padding: 42px 52px;
  border-radius: 22px;
  background: linear-gradient(145deg, #a947df, #9d3cdb);
  color: #fff;
  box-shadow: 0 18px 36px rgba(10, 2, 22, .18);
  text-align: center;
}
.results-access h3 {
  margin: 0;
  font: 800 25px/1.25 Manrope, sans-serif;
  letter-spacing: -.035em;
}
.results-access p {
  max-width: 360px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .94);
  font-size: 15px;
  line-height: 1.45;
}
.results-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.results-form input {
  width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #291044;
  font: 400 14px Manrope, sans-serif;
}
.results-form input::placeholder {
  color: #9a8ba5;
  font-style: italic;
}
.results-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}
.results-submit {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #a13fdd;
  font: 800 14px Manrope, sans-serif;
  cursor: pointer;
  box-shadow: 0 7px 12px rgba(51, 10, 75, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.results-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(51, 10, 75, .24);
}
.results-access-note {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
}

@media (max-width: 991px) {
  .results-access {
    width: min(100%, 520px);
    justify-self: center;
    margin-top: 34px;
  }
}

@media (max-width: 767px) {
  .results-access {
    min-height: 0;
    padding: 32px 24px;
  }
  .results-access h3 {
    font-size: 22px;
  }
}

/* Results section visual treatment based on the dark reference layout. */
.results-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: center;
  gap: 70px;
  min-height: 760px;
  padding: 78px max(40px, calc((100vw - 1140px) / 2));
  background:
    linear-gradient(90deg, rgba(10, 2, 27, .98) 0%, rgba(17, 5, 44, .94) 48%, rgba(30, 9, 68, .66) 100%),
    url("results-perspective-bg.png") center / cover no-repeat;
}
.results-copy {
  width: 100%;
  max-width: 560px;
}
.results-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(72, 21, 135, .38);
  color: #f1dfff;
  font-size: 11px;
  letter-spacing: .12em;
}
.results-section .eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d7a9ff;
  box-shadow: 0 0 0 4px rgba(183, 92, 255, .25), 0 0 14px #b85aff;
}
.results-section h2 {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  font: 800 clamp(45px, 5vw, 70px)/.98 Manrope, sans-serif;
  letter-spacing: -.065em;
}
.results-section h2 span,
.results-section h2 em {
  display: block;
}
.results-section h2 span { color: #fff; }
.results-section h2 em {
  color: #a84cff;
  font-style: normal;
}
.results-section > .results-copy > p {
  max-width: 520px;
  margin: 28px 0 30px;
  color: #d1c1df;
  font-size: 19px;
  line-height: 1.45;
}
.results-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.results-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 12px 18px;
  border: 1px solid rgba(145, 65, 237, .42);
  border-radius: 18px;
  background: rgba(21, 5, 51, .26);
}
.results-features li::before { display: none; }
.results-feature-icon,
.results-security-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7c2ee9, #4b10bd);
  color: #fff;
  box-shadow: 0 0 18px rgba(128, 42, 255, .28);
}
.results-feature-icon svg,
.results-security-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.results-feature-copy,
.results-security > span:nth-child(2) {
  display: grid;
  gap: 4px;
}
.results-feature-copy strong,
.results-security strong {
  color: #fff;
  font-size: 16px;
}
.results-feature-copy small,
.results-security small {
  color: #c9bad7;
  font-size: 13px;
}
.results-security {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 18px 22px;
  border: 1px solid rgba(145, 65, 237, .42);
  border-radius: 18px;
  background: linear-gradient(105deg, rgba(91, 29, 166, .72), rgba(42, 10, 92, .72));
}
.results-security-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  color: #a84cff;
  box-shadow: none;
}
.results-lock-icon {
  width: 34px;
  height: 34px;
  margin-left: auto;
  fill: none;
  stroke: #7021db;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.results-access {
  width: 100%;
  max-width: 540px;
  min-height: 680px;
  justify-self: end;
  align-self: center;
  padding: 36px 44px;
  border: 1px solid rgba(157, 74, 255, .82);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(61, 12, 139, .96), rgba(22, 8, 58, .97));
  box-shadow: 0 0 36px rgba(112, 35, 224, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
}
.results-access-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(193, 122, 255, .62);
  border-radius: 50%;
  background: linear-gradient(145deg, #7823e6, #4b0bbb);
  color: #fff;
  box-shadow: 0 0 24px rgba(144, 50, 255, .52);
}
.results-access-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.results-access h3 {
  margin: 0;
  color: #fff;
  font: 800 27px/1.2 Manrope, sans-serif;
  letter-spacing: -.045em;
}
.results-access > p {
  max-width: 390px;
  margin: 18px auto 0;
  color: #e0d3ee;
  font-size: 15px;
  line-height: 1.5;
}
.results-form {
  gap: 18px;
  margin-top: 28px;
}
.results-field {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 18px;
  border-radius: 14px;
  background: #fff;
  color: #9a54ed;
  text-align: left;
}
.results-field > svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.results-field input {
  min-height: 60px;
  padding: 13px 13px;
  background: transparent;
  color: #5f5770;
}
.results-field input::placeholder { color: #80768f; font-style: normal; }
.results-password-toggle {
  flex: 0 0 auto;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #82768f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.results-password-toggle svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.results-submit {
  width: 100%;
  min-height: 60px;
  border: 1px solid #a54cff;
  border-radius: 14px;
  background: linear-gradient(100deg, #7020da, #a744ed);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(48, 8, 105, .3);
}
.results-submit:hover {
  background: linear-gradient(100deg, #812bea, #b656f5);
}
.results-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: #d7c8e6;
}
.results-divider::before,
.results-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(178, 113, 255, .55));
}
.results-divider::after { background: linear-gradient(90deg, rgba(178, 113, 255, .55), transparent); }
.results-help {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid #a34eff;
  border-radius: 12px;
  background: transparent;
  color: #b55bff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.results-help > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.results-access-note {
  display: block;
  margin-top: 28px;
  color: #d9cce8;
  font-size: 13px;
}
.results-forgot {
  justify-self: center;
  margin-top: -4px;
  color: #ecdffa;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.results-forgot:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .results-section {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
  }
  .results-copy,
  .results-access {
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .results-section {
    padding: 54px 24px;
  }
  .results-section h2 {
    font-size: 45px;
  }
  .results-section > .results-copy > p {
    font-size: 16px;
  }
  .results-access {
    min-height: 0;
    padding: 32px 22px;
  }
  .results-access h3 {
    font-size: 23px;
  }
}

@media (min-width: 992px) {
  .results-copy h2 {
    margin-top: 28px;
    font-size: clamp(45px, 5vw, 70px);
  }
  .results-section > .results-copy > p {
    margin: 28px 0 30px;
    font-size: 19px;
  }
  .results-features {
    gap: 12px;
  }
  .results-features li {
    min-height: 86px;
    padding: 12px 18px;
    gap: 16px;
    border-radius: 18px;
  }
  .results-feature-icon {
    width: 52px;
    height: 52px;
  }
  .results-feature-icon svg {
    width: 25px;
    height: 25px;
  }
  .results-feature-copy strong,
  .results-security strong {
    font-size: 16px;
  }
  .results-feature-copy small,
  .results-security small {
    font-size: 13px;
  }
  .results-security {
    margin-top: 30px;
    padding: 18px 22px;
    border-radius: 18px;
  }
  .results-security-icon {
    width: 50px;
    height: 50px;
  }
  .results-lock-icon {
    width: 34px;
    height: 34px;
  }

  .results-section {
    gap: 42px;
    min-height: 640px;
    padding-top: 46px;
    padding-bottom: 46px;
  }
  .results-section h2 {
    margin-top: 20px;
    font-size: clamp(42px, 4.1vw, 58px);
  }
  .results-section > .results-copy > p {
    margin: 20px 0 22px;
    font-size: 16px;
  }
  .results-features {
    gap: 9px;
  }
  .results-features li {
    min-height: 68px;
    padding: 8px 14px;
    gap: 12px;
    border-radius: 15px;
  }
  .results-feature-icon {
    width: 44px;
    height: 44px;
  }
  .results-feature-icon svg {
    width: 21px;
    height: 21px;
  }
  .results-feature-copy strong,
  .results-security strong {
    font-size: 14px;
  }
  .results-feature-copy small,
  .results-security small {
    font-size: 11px;
  }
  .results-security {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 15px;
  }
  .results-security-icon {
    width: 40px;
    height: 40px;
  }
  .results-lock-icon {
    width: 28px;
    height: 28px;
  }
  .results-access {
    min-height: 0;
    max-width: 500px;
    padding: 24px 30px;
    border-radius: 24px;
    transform: translateY(10px);
  }
  .results-access-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
  }
  .results-access-icon svg {
    width: 30px;
    height: 30px;
  }
  .results-access h3 {
    font-size: 22px;
  }
  .results-access > p {
    margin-top: 12px;
    font-size: 13px;
  }
  .results-form {
    gap: 12px;
    margin-top: 18px;
  }
  .results-field,
  .results-field input,
  .results-submit {
    min-height: 48px;
  }
  .results-field input {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .results-submit {
    font-size: 15px;
  }
  .results-divider {
    margin: 17px 0;
  }
  .results-help {
    min-height: 42px;
    font-size: 12px;
  }
  .results-access-note {
    margin-top: 16px;
    font-size: 11px;
  }
}
.results-copy > .eyebrow {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #d8b5ed;
  letter-spacing: .14em;
}
.results-brand-logo {
  display: block;
  width: 150px;
  height: 90px;
  margin: 0 0 18px;
  object-fit: cover;
  object-position: center;
  transform: translateY(16px);
}
.results-copy > .eyebrow::before { display: none; }
.results-copy h2 {
  display: block;
  margin-top: 28px;
  color: #fff;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.02;
}
.results-section > .results-copy > p {
  max-width: 530px;
  margin: 18px 0;
  color: #e5d8ed;
  font-size: 17px;
  line-height: 1.5;
}
.results-copy > ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  color: #eadfee;
  font-size: 16px;
}
.results-copy > ul li::before {
  content: "✓";
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  background: #6b21d7;
  color: #fff;
}
.results-copy > .button-gold {
  display: inline-flex;
  margin-top: 0;
  background: #d29b46;
  color: #fff;
}
.results-copy > .button-gold:hover { background: #b98232; }

/* Process section rebuilt to match the editorial laboratory layout. */
.process-section {
  display: grid;
  max-width: 1200px;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 62px;
  margin: 0 auto;
  padding: 108px 0;
  color: #fff;
}
.process-copy {
  min-width: 0;
}
.process-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(125, 50, 214, .18);
  color: #c18aff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}
.process-kicker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.process-copy h2 {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  color: #fff;
  font: 800 clamp(42px, 4.6vw, 68px)/.98 Manrope, sans-serif;
  letter-spacing: -.07em;
}
.process-copy h2 span,
.process-copy h2 em {
  display: block;
}
.process-copy h2 em {
  color: #9b45ea;
  font-style: normal;
}
.process-rule {
  display: block;
  width: 76px;
  height: 3px;
  margin: 26px 0 20px;
  background: #9b45ea;
}
.process-copy > p {
  max-width: 500px;
  margin: 0;
  color: #d0c2dd;
  font-size: 16px;
  line-height: 1.55;
}
.process-list {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  border-bottom: 1px solid rgba(164, 100, 225, .24);
}
.process-list-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(167, 103, 230, .45);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: #a74ef0;
}
.process-list-icon svg,
.process-highlights svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.process-list li > span:last-child {
  display: grid;
  gap: 5px;
}
.process-list strong {
  color: #fff;
  font-size: 14px;
}
.process-list small {
  color: #bfaecc;
  font-size: 12px;
}
.process-commitment {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(160, 76, 236, .42);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(85, 27, 158, .78), rgba(43, 11, 91, .72));
}
.process-commitment > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  fill: none;
  stroke: #b05af0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.process-commitment > span {
  display: grid;
  gap: 5px;
}
.process-commitment strong {
  color: #be79fa;
  font-size: 15px;
}
.process-commitment small {
  color: #d9c5e8;
  font-size: 12px;
  line-height: 1.45;
}
.process-visual {
  min-width: 0;
}
.microscope-art {
  height: 450px;
  overflow: hidden;
  border-radius: 28px;
  background: #231233;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
}
.microscope-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.process-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  padding: 22px 12px 18px;
  border-radius: 0 0 20px 20px;
  background: rgba(28, 12, 43, .92);
}
.process-highlights > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 14px;
  text-align: center;
}
.process-highlights > div + div {
  border-left: 1px solid rgba(164, 100, 225, .24);
}
.process-highlights svg {
  width: 31px;
  height: 31px;
  color: #a74ef0;
}
.process-highlights strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}
.process-highlights small {
  color: #c2b2cf;
  font-size: 11px;
  line-height: 1.45;
}

body.light-mode .process-section {
  color: #291044;
}
body.light-mode .process-kicker {
  background: #f1e9fc;
  color: #6f2bd1;
}
body.light-mode .process-copy h2 {
  color: #291044;
}
body.light-mode .process-copy h2 em {
  color: #6f2bd1;
}
body.light-mode .process-copy > p {
  color: #665475;
}
body.light-mode .process-list li {
  border-bottom-color: #eee3f7;
}
body.light-mode .process-list-icon {
  border-color: #e6d7f4;
  background: #fff;
  color: #7130d0;
  box-shadow: 0 5px 14px rgba(91, 42, 134, .08);
}
body.light-mode .process-list strong {
  color: #291044;
}
body.light-mode .process-list small {
  color: #766585;
}
body.light-mode .process-commitment {
  border-color: #eadcf7;
  background: #f5effc;
}
body.light-mode .process-commitment > svg {
  stroke: #7130d0;
}
body.light-mode .process-commitment strong {
  color: #6f2bd1;
}
body.light-mode .process-commitment small {
  color: #624d74;
}
body.light-mode .microscope-art {
  background: #f0e8f8;
  box-shadow: 0 18px 38px rgba(47, 28, 67, .12);
}
body.light-mode .process-highlights {
  background: #fff;
  box-shadow: 0 12px 28px rgba(47, 28, 67, .08);
}
body.light-mode .process-highlights > div + div {
  border-left-color: #eee3f7;
}
body.light-mode .process-highlights strong {
  color: #291044;
}
body.light-mode .process-highlights small {
  color: #756582;
}

@media (max-width: 991px) {
  .process-section {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 82px 0;
  }
  .process-copy {
    max-width: 680px;
  }
  .microscope-art {
    height: 360px;
  }
}

@media (max-width: 575px) {
  .process-section {
    padding: 64px 0;
  }
  .process-copy h2 {
    font-size: 42px;
  }
  .process-copy h2 span:last-child {
    white-space: normal;
  }
  .process-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }
  .process-highlights > div:nth-child(3) {
    border-left: 0;
  }
}

@media (min-width: 992px) {
  .process-section {
    gap: 48px;
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .process-copy h2 span:last-child {
    white-space: nowrap;
  }
  .process-copy h2 {
    margin-top: 20px;
    font-size: clamp(38px, 4vw, 58px);
  }
  .process-rule {
    margin: 20px 0 16px;
  }
  .process-copy > p {
    font-size: 14px;
  }
  .process-list {
    margin-top: 18px;
  }
  .process-list li {
    min-height: 66px;
    gap: 12px;
  }
  .process-list-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .process-list-icon svg {
    width: 21px;
    height: 21px;
  }
  .process-list strong {
    font-size: 13px;
  }
  .process-list small {
    font-size: 11px;
  }
  .process-commitment {
    gap: 12px;
    margin-top: 16px;
    padding: 13px 16px;
  }
  .process-commitment > svg {
    width: 32px;
    height: 32px;
  }
  .process-commitment strong {
    font-size: 13px;
  }
  .process-commitment small {
    font-size: 11px;
  }
  .microscope-art {
    height: 360px;
  }
  .process-highlights {
    padding: 16px 8px 14px;
  }
  .process-highlights > div {
    gap: 6px;
    padding: 0 10px;
  }
  .process-highlights svg {
    width: 26px;
    height: 26px;
  }
  .process-highlights strong {
    font-size: 13px;
  }
  .process-highlights small {
    font-size: 10px;
  }
}

/* Results access panel theme variants. */
body.light-mode .results-access {
  border-color: #c995e9;
  background: linear-gradient(155deg, #f1e5fb, #e4d0f7);
  box-shadow: 0 18px 36px rgba(91, 42, 134, .16), inset 0 1px 0 rgba(255, 255, 255, .8);
}
body.light-mode .results-access-icon {
  border-color: rgba(112, 42, 190, .36);
  background: linear-gradient(145deg, #8e35e4, #6620bf);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 46, 233, .25);
}
body.light-mode .results-access h3 {
  color: #291044;
}
body.light-mode .results-access > p {
  color: #5d4770;
}
body.light-mode .results-field {
  border: 1px solid rgba(111, 42, 173, .12);
  background: #fff;
  color: #7434c0;
}
body.light-mode .results-submit {
  border-color: #8734d2;
  background: linear-gradient(100deg, #7020da, #a744ed);
  color: #fff;
}
body.light-mode .results-access-note {
  color: #5d4770;
}
body.light-mode .results-forgot {
  color: #6d3aa8;
}
body.light-mode .results-forgot:hover {
  color: #4a1f7a;
}

@media (min-width: 992px) {
  .results-access {
    padding: 18px 28px;
  }
  .results-access-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  .results-access-icon svg {
    width: 26px;
    height: 26px;
  }
  .results-access h3 {
    font-size: 19px;
  }
  .results-access > p {
    margin-top: 8px;
    font-size: 11px;
  }
  .results-form {
    gap: 10px;
    margin-top: 12px;
  }
  .results-field,
  .results-field input,
  .results-submit {
    min-height: 42px;
  }
  .results-field input {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .results-submit {
    font-size: 13px;
  }
  .results-access-note {
    margin-top: 10px;
    font-size: 9px;
  }
}

/* Keep the booking panel visually separated from the results section. */
#agendar,
#unidades {
  scroll-margin-top: 96px;
}

.booking {
  margin-top: 42px;
}
.booking h2 span {
  display: block;
  white-space: nowrap;
}
.booking h2 {
  font-size: clamp(36px, 3.7vw, 52px);
}

@media (max-width: 767px) {
  .booking {
    margin-top: 28px;
  }
  .booking h2 span {
    white-space: normal;
  }
}
.site-footer {
  padding: 34px 0 14px;
}
.footer-grid {
  gap: 32px;
}
.footer-grid img {
  width: 150px;
  height: 90px;
  object-fit: cover;
  object-position: center;
}
.footer-grid p {
  max-width: 220px;
  margin-top: 8px;
  font-size: 10px;
}
.footer-grid strong {
  margin-bottom: 8px;
  font-size: 11px;
}
.footer-grid a,
.footer-grid span {
  margin: 6px 0;
  font-size: 10px;
}
.copyright {
  margin-top: 24px;
  padding-top: 12px;
  font-size: 9px;
}

/* Footer layout inspired by the provided reference. */
.site-footer {
  padding: 30px 0 0;
  background: #281044;
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.85fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.footer-top strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
}
.footer-top a,
.footer-top span {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  line-height: 1.35;
}
.footer-top a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-institution nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.footer-institution nav a {
  margin: 0;
}
.footer-technical {
  text-align: right;
}
.footer-divider {
  height: 1px;
  margin-top: 26px;
  background: rgba(255, 255, 255, .72);
}
.footer-seals {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.footer-seals img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
}
.footer-bottom .footer-brand {
  width: 170px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  filter: none;
  flex: 0 0 auto;
}
.footer-bottom .copyright {
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
}
body.light-mode .site-footer {
  background: #281044;
}

@media (max-width: 700px) {
  .site-footer {
    padding-top: 26px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-service,
  .footer-technical {
    text-align: left;
  }
  .footer-divider {
    margin-top: 22px;
  }
  .footer-seals {
    gap: 18px;
  }
  .footer-seals img {
    height: 40px;
  }
  .footer-bottom {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 14px;
  }
}

@media (min-width: 701px) and (max-width: 991.98px) {
  .footer-bottom {
    gap: 16px 18px;
  }
  .footer-bottom .footer-brand {
    width: 128px;
    height: 54px;
  }
  .footer-seals {
    gap: 14px;
  }
  .footer-seals img {
    height: 36px;
  }
  .footer-bottom .copyright {
    font-size: 10px;
  }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .34);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
@media (max-width: 700px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}


/* ============================================================
   Brand header — Clínica Carlos Ribeiro (ícone pequeno, 20%) /
   Laboratório Carlos Ribeiro (logo maior + navegação). Neutral,
   frosted background matching the site's original header — no
   background color blocks. The two sides are told apart only by
   logo size and a thin gold "seam" on the diagonal split. Self
   contained under .brand-header so it doesn't depend on, or get
   overridden by, the legacy .site-header rules earlier in this
   file (which are left untouched but now unused).

   O painel .brand-header__clinic e o friso .brand-header__seam
   estão com o markup comentado em index.html por enquanto (ver
   comentário lá) — as regras abaixo continuam aqui para quando
   isso voltar. Com a clínica fora, .brand-header__lab passa a
   ocupar 100% da largura (é o único item flex restante); os
   ajustes de largura logo abaixo (.brand-header__lab-inner) são
   só para isso ficar centralizado como um header padrão.
   ============================================================ */
.brand-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 92px;
  border-bottom: 1px solid rgba(232, 225, 239, .9);
  background: rgba(16, 8, 23, .92);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.light-mode .brand-header {
  border-color: #e1e8ed;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 24px rgba(39, 19, 62, .06);
}

/* Invasion overlay: on click it sweeps in from the clinic side and
   covers the whole bar, then script.js sends the browser on. */
.brand-header__invade {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(135deg, #34aab4, #268990);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1);
  pointer-events: none;
}
.brand-header.is-expanding .brand-header__invade {
  transform: scaleX(1);
}

/* Clinic side — small mark, links out to the Clínica's own site */
.brand-header__clinic {
  display: flex;
  position: relative;
  z-index: 2;
  flex: 0 0 20%;
  max-width: 20%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.brand-header__clinic-logo {
  width: 112px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.brand-header__clinic:hover .brand-header__clinic-logo,
.brand-header__clinic:focus-visible .brand-header__clinic-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 8px rgba(70, 200, 210, .75)) drop-shadow(0 0 16px rgba(70, 200, 210, .35));
}
.brand-header.is-expanding .brand-header__clinic-logo {
  transform: scale(1.06);
}
.brand-header.is-pressed .brand-header__clinic-logo {
  transform: scale(0.92);
  transition: transform .1s ease;
}
.brand-header.is-expanding .brand-header__clinic-tip {
  opacity: 0;
}
.brand-header__clinic-tip {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translate(-50%, 6px);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 51, 54, .82);
  color: #fff;
  font: 700 10px/1 "Manrope", sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
@media (hover: hover) {
  .brand-header__clinic:hover .brand-header__clinic-tip,
  .brand-header__clinic:focus-visible .brand-header__clinic-tip {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Thin gold seam on the diagonal split — a quiet, premium accent
   line rather than a hard color boundary between the two sides. */
.brand-header__seam {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 20%;
  z-index: 3;
  width: 2px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, #e9c979 12%, #fbe7ae 50%, #e9c979 88%, transparent);
  transform: skewX(-20deg);
  box-shadow: 0 0 8px rgba(233, 201, 121, .65), 0 0 16px rgba(233, 201, 121, .3);
  opacity: .9;
  pointer-events: none;
  transition: opacity .3s ease;
}
.brand-header.is-expanding .brand-header__seam {
  opacity: 0;
}
/* A soft point of light slides down the seam every few seconds,
   like a reflection catching a polished metal strip. */
.brand-header__seam::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: -20%;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(255, 250, 230, .95), transparent);
  animation: brand-seam-shimmer 7s ease-in-out infinite;
}
@keyframes brand-seam-shimmer {
  0%, 8% { transform: translateY(-40%); opacity: 0; }
  16% { opacity: 1; }
  55% { opacity: 1; }
  68%, 100% { transform: translateY(340%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-header__seam::after {
    animation: none;
    display: none;
  }
}

/* Lab side — logo + existing site navigation */
.brand-header__lab {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
}
.brand-header__lab-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  min-height: 92px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  transition: opacity .3s ease;
}
.brand-header.is-expanding .brand-header__lab-inner {
  opacity: 0;
}
.brand-header__logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 58px;
}
.brand-header__logo img {
  width: 112px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(0) saturate(100%) invert(23%) sepia(29%) saturate(2400%) hue-rotate(252deg) brightness(84%) contrast(92%);
}
.brand-header .main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #f4eafa;
}
.brand-header .main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: inherit;
  transition: color .2s ease, background-color .2s ease;
}
.brand-header .main-nav a:hover,
.brand-header .main-nav a.active {
  background: rgba(168, 76, 227, .2);
  color: #fff;
}
body.light-mode .brand-header .main-nav {
  color: #4b3760;
}
body.light-mode .brand-header .main-nav a:hover,
body.light-mode .brand-header .main-nav a.active {
  background: var(--lavender);
  color: var(--purple);
}
.brand-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-header .header-result {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(168, 76, 227, .28);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.brand-header .header-result:hover {
  background: #b95bed;
  transform: translateY(-2px);
}
.brand-header .header-exams-mobile {
  display: none;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(168, 76, 227, .28);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.brand-header .header-exams-mobile:hover {
  background: #b95bed;
  color: #fff;
  transform: translateY(-2px);
}
.brand-header .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #1b0d29;
  color: #f4eafa;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.brand-header .theme-toggle:hover {
  border-color: var(--violet);
  background: rgba(168, 76, 227, .2);
}
body.light-mode .brand-header .theme-toggle {
  border-color: var(--line);
  background: #fff;
  color: var(--purple);
}
body.light-mode .brand-header .theme-toggle:hover {
  background: var(--lavender);
}
.brand-header .theme-icon {
  width: 17px;
  height: 17px;
}
.brand-header .theme-icon-moon {
  display: none;
}
body.light-mode .brand-header .theme-icon-sun {
  display: none;
}
body.light-mode .brand-header .theme-icon-moon {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .brand-header__invade,
  .brand-header__lab-inner,
  .brand-header__clinic-logo,
  .brand-header__seam {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .brand-header {
    min-height: 76px;
  }
  .brand-header__clinic-logo {
    width: 85px;
    height: 44px;
  }
  .brand-header__lab-inner {
    min-height: 76px;
    gap: 14px;
    padding: 0 20px 0 26px;
  }
  .brand-header__logo,
  .brand-header__logo img {
    height: 44px;
  }
  .brand-header__logo img {
    width: 85px;
  }
  .brand-header .main-nav a {
    padding: 8px 10px;
    font-size: 12px;
  }
  .brand-header .main-nav {
    display: none;
  }
  .brand-header .header-result {
    display: none;
  }
  .brand-header .header-exams-mobile {
    display: inline-flex;
  }
}

@media (max-width: 700px) {
  .brand-header {
    min-height: 64px;
  }
  .brand-header__clinic-logo {
    width: 66px;
    height: 34px;
  }
  .brand-header__lab-inner {
    min-height: 64px;
    gap: 10px;
    padding: 0 14px 0 20px;
  }
  .brand-header__logo,
  .brand-header__logo img {
    height: 34px;
  }
  .brand-header__logo img {
    width: 66px;
  }
  .brand-header__seam {
    transform: skewX(-8deg);
  }
}

@media (max-width: 480px) {
  .brand-header__clinic-logo {
    width: 52px;
    height: 27px;
  }
  .brand-header__seam {
    transform: skewX(-6deg);
  }
}

/* ============================================================
   Hero image fix (<992px). Abaixo de lg o Bootstrap empilha
   .hero-content e .hero-visual (que antes só formavam uma foto
   coesa lado a lado com .hero-modern's background). Sozinha, a
   .hero-visual img herdava um recorte com mask-image + inset
   negativo pensado só pra esse blend lateral, o que fazia a foto
   aparecer com uma borda reta "quebrada" no meio da seção. Aqui
   ela vira uma foto normal, contida e arredondada.
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-visual {
    left: 0;
    aspect-ratio: 16 / 10;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 0;
  }
  .hero-visual-shape {
    display: none;
  }
  .hero-visual img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* .hero-modern tem um background com a mesma foto (pensado pro
     blend com o texto lá no desktop) sempre ativo, em qualquer
     largura. Empilhado no mobile/tablet, isso fazia essa foto
     aparecer desbotada atrás do parágrafo, brigando com a foto
     "de verdade" mostrada em .hero-visual logo abaixo. Aqui esse
     fundo vira só a cor sólida — a foto some no card mesmo. */
  .hero-modern {
    background: #100817;
  }
  body.light-mode .hero-modern {
    background: #fff;
  }
}
