:root {
  color-scheme: dark;
  --ink: #020811;
  --ink-2: #06111d;
  --panel: rgba(6, 18, 30, 0.9);
  --panel-soft: rgba(10, 28, 42, 0.58);
  --line: rgba(169, 201, 217, 0.22);
  --line-bright: rgba(79, 216, 220, 0.5);
  --text: #f1f5f7;
  --muted: #aab7c1;
  --muted-2: #7f909e;
  --cyan: #57d7d9;
  --cyan-soft: #9ce9e9;
  --silver: #c7d1d8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(94vw, 1720px);
  --radius: 28px;
  --header-h: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 82% 8%, rgba(27, 105, 120, 0.15), transparent 30rem),
    radial-gradient(circle at 12% 78%, rgba(29, 79, 111, 0.12), transparent 36rem),
    linear-gradient(145deg, #020811 0%, #06111d 48%, #020911 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(108, 174, 188, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 174, 188, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #001014;
  background: var(--cyan-soft);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  width: var(--shell);
  min-height: var(--header-h);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  width: 56px;
  height: 55px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 70px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(87, 215, 217, 0.14));
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.52rem);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.brand-role {
  margin-top: 6px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.1vw, 34px);
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: #e7edf0;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.language-switch span,
.language-switch a {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.language-switch [aria-current="true"] {
  color: var(--text);
  background: rgba(218, 230, 236, 0.11);
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  background: rgba(3, 13, 22, 0.62);
  border: 1px solid rgba(68, 213, 216, 0.72);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.115em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  color: #001216;
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button-compact {
  min-height: 42px;
  padding-inline: 18px;
}

.button .arrow,
.text-link .arrow {
  color: var(--cyan);
  font-size: 1rem;
}

.button:hover .arrow {
  color: #001216;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.home-shell,
.page-shell {
  width: var(--shell);
  margin: 0 auto;
}

.editorial-panel {
  position: relative;
  min-height: clamp(560px, calc(100svh - 286px), 690px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 40%, rgba(55, 171, 184, 0.14), transparent 25rem),
    linear-gradient(118deg, rgba(2, 10, 18, 0.98) 0 42%, rgba(6, 18, 29, 0.93) 68%, rgba(3, 12, 20, 0.98) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.22), inset 0 0 80px rgba(74, 204, 211, 0.025);
}

.editorial-panel::before,
.editorial-panel::after {
  position: absolute;
  z-index: 8;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(105, 197, 205, 0.12);
  border-radius: 50%;
}

.editorial-panel::before {
  top: -25%;
  right: 19%;
  width: 52vw;
  max-width: 850px;
  aspect-ratio: 1;
  animation: orbital-drift 18s ease-in-out infinite alternate;
}

.editorial-panel::after {
  top: 15%;
  right: 35%;
  width: 24vw;
  max-width: 390px;
  aspect-ratio: 1;
  border-color: rgba(105, 197, 205, 0.08);
  animation: orbital-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes orbital-drift {
  to { transform: translate3d(12px, -9px, 0) rotate(2deg); }
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 300ms ease, transform 420ms ease;
}

.hero-slide.is-active {
  z-index: 4;
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.is-leaving {
  z-index: 5;
  visibility: visible;
  opacity: 0;
  transform: translateX(-6px);
  transition-duration: 170ms;
}

.slide-content {
  position: relative;
  z-index: 12;
  display: flex;
  width: 47%;
  min-height: inherit;
  padding: clamp(52px, 6vw, 96px) clamp(30px, 5vw, 86px) 80px clamp(70px, 8vw, 140px);
  flex-direction: column;
  justify-content: center;
}

.slide-kicker,
.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1.45;
  text-transform: uppercase;
}

.slide-title {
  max-width: 750px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.2vw, 5.15rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.slide-title em {
  color: var(--cyan);
  font-style: normal;
}

.slide-description {
  max-width: 560px;
  margin: 24px 0 28px;
  color: #c2ccd2;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.7;
}

.slide-visual {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.slide-visual::before {
  position: absolute;
  inset: 6% -5% -8% 5%;
  z-index: 2;
  content: "";
  border: 1px solid rgba(89, 217, 219, 0.34);
  border-radius: 49% 11% 16% 48%;
  box-shadow: inset 0 0 55px rgba(56, 211, 216, 0.08);
}

.slide-visual::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  background:
    linear-gradient(90deg, #04101b 0%, rgba(4, 16, 27, 0.94) 4%, transparent 29%),
    linear-gradient(0deg, rgba(2, 9, 16, 0.88) 0%, transparent 25%, transparent 76%, rgba(2, 9, 16, 0.2) 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-cat .hero-photo {
  max-width: none;
  width: 104%;
  height: 100%;
  inset: 0 -4% 0 auto;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 44% 6% 12% 44%;
}

.visual-surgery .hero-photo {
  max-width: none;
  width: 104%;
  height: 100%;
  inset: 0 -4% 0 auto;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 16% 6% 12% 16%;
}

.visual-cutout .hero-photo {
  width: min(73%, 820px);
  height: 94%;
  inset: auto 1% 0 auto;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(-30px 25px 40px rgba(0, 0, 0, 0.44));
}

.visual-portrait .hero-photo {
  width: min(54%, 590px);
  height: 92%;
  inset: 4% 5% auto auto;
  border-radius: 44% 10% 16% 44%;
  object-position: center 22%;
}

.tech-rings {
  position: absolute;
  z-index: 7;
  top: 50%;
  right: 6.5%;
  width: min(47vw, 720px);
  aspect-ratio: 1;
  border: 1px dashed rgba(103, 222, 224, 0.42);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.58;
}

.tech-rings::before,
.tech-rings::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(91, 210, 215, 0.16);
  border-radius: inherit;
}

.tech-rings::before { inset: 12%; }
.tech-rings::after { inset: 29%; }

.slide-note {
  position: absolute;
  z-index: 12;
  right: clamp(22px, 3vw, 52px);
  bottom: clamp(28px, 5vw, 74px);
  width: min(180px, 15vw);
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(2, 10, 17, 0.64);
  border-left: 1px solid var(--line-bright);
  border-radius: 0 10px 10px 0;
  backdrop-filter: blur(7px);
  font-size: 0.78rem;
  line-height: 1.7;
}

.slide-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan-soft);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slide-index {
  position: absolute;
  z-index: 14;
  top: 70px;
  left: 34px;
  display: grid;
  gap: 35px;
  color: var(--muted-2);
  font-size: 0.69rem;
  font-variant-numeric: tabular-nums;
}

.slide-index::before {
  position: absolute;
  top: 27px;
  left: 4px;
  width: 1px;
  height: 112px;
  content: "";
  background: linear-gradient(var(--cyan), rgba(142, 169, 182, 0.22));
}

.slide-index .active {
  color: var(--text);
  font-weight: 750;
}

.slide-index .active::after {
  position: absolute;
  top: 43px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
}

.carousel-controls {
  position: absolute;
  z-index: 20;
  bottom: 27px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.carousel-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: rgba(4, 15, 24, 0.82);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.carousel-arrow:hover {
  background: rgba(70, 210, 215, 0.1);
  border-color: var(--cyan);
}

.carousel-dots {
  display: flex;
  padding: 0 8px;
  align-items: center;
  gap: 10px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #72808a;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  background: #d9ffff;
  box-shadow: 0 0 0 3px rgba(87, 215, 217, 0.12), 0 0 14px rgba(87, 215, 217, 0.65);
}

.specialty-band {
  display: grid;
  min-height: 190px;
  margin-top: 20px;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(110deg, rgba(7, 23, 36, 0.94), rgba(3, 13, 22, 0.96));
  border: 1px solid var(--line);
  border-radius: 22px;
}

.specialty-item {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 28px 54px 28px 32px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  transition: background 180ms ease;
}

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

.specialty-item:hover {
  background: rgba(72, 207, 211, 0.055);
}

.specialty-number {
  color: var(--silver);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.specialty-title {
  margin: 7px 0 8px;
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.specialty-item p {
  max-width: 270px;
  margin: 0;
  color: #b5c0c8;
  font-size: 0.88rem;
  line-height: 1.65;
}

.specialty-arrow {
  position: absolute;
  right: 19px;
  bottom: 19px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.specialty-item:hover .specialty-arrow {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateX(3px);
}

.principles {
  display: grid;
  margin: 16px 0 0;
  padding: 20px 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(3, 13, 22, 0.72);
  border: 1px solid rgba(146, 188, 207, 0.12);
  border-radius: 999px;
}

.principle {
  display: grid;
  min-height: 56px;
  padding: 0 24px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(146, 188, 207, 0.1);
}

.principle:last-child { border-right: 0; }

.principle-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(87, 215, 217, 0.55);
  border-radius: 50%;
}

.principle-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle strong {
  display: block;
  color: #dce5e9;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.principle span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.45;
}

.home-closing {
  display: grid;
  margin: 96px 0 40px;
  padding: clamp(42px, 6vw, 86px);
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 52px;
  background:
    radial-gradient(circle at 88% 50%, rgba(56, 184, 193, 0.14), transparent 24rem),
    rgba(5, 17, 27, 0.84);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-closing h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.1vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.home-closing p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 460px;
  padding: clamp(54px, 7vw, 108px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 6vw;
  background:
    radial-gradient(circle at 84% 50%, rgba(59, 188, 196, 0.12), transparent 24rem),
    rgba(4, 14, 24, 0.89);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-hero::after {
  position: absolute;
  top: -45%;
  right: -8%;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(83, 212, 216, 0.13);
  border-radius: 50%;
}

.page-hero-copy {
  position: relative;
  z-index: 3;
}

.page-hero h1 {
  max-width: 940px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.2vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.page-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #c3cdd3;
  font-size: clamp(1.08rem, 1.45vw, 1.38rem);
  line-height: 1.65;
}

.page-hero-media {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: 330px;
}

.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.34));
}

.page-hero-media.photo-natural img {
  object-fit: cover;
  object-position: center 32%;
  border-radius: 48% 12% 17% 42%;
  filter: none;
}

.page-content {
  width: min(88vw, 1240px);
  margin: 0 auto;
  padding: 94px 0 112px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
}

.prose-section + .prose-section {
  margin-top: 62px;
  padding-top: 62px;
  border-top: 1px solid var(--line);
}

.prose-section h2,
.section-heading {
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.prose-section p {
  margin: 0;
  color: #b8c4cb;
  font-size: 1.04rem;
  line-height: 1.85;
}

.prose-section p + p { margin-top: 18px; }

.side-panel {
  position: sticky;
  top: 28px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(11, 31, 46, 0.72), rgba(4, 14, 23, 0.86));
  border: 1px solid var(--line);
  border-radius: 18px;
}

.side-panel-label,
.status-label {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.side-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

.side-panel p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-note {
  margin-bottom: 50px;
  padding: 20px 24px;
  color: #c7d2d8;
  background: rgba(74, 190, 196, 0.06);
  border: 1px solid rgba(87, 215, 217, 0.24);
  border-radius: 12px;
}

.status-note strong {
  color: var(--cyan-soft);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-stage {
  position: relative;
  min-height: 430px;
  margin: 64px 0;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 50%, rgba(69, 207, 212, 0.13), transparent 18rem),
    rgba(3, 14, 24, 0.8);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.model-stage::before,
.model-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(86, 217, 219, 0.18);
  border-radius: 50%;
}

.model-stage::before {
  top: 50%;
  left: 28%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
}

.model-stage::after {
  top: 50%;
  left: 28%;
  width: 190px;
  height: 190px;
  border-style: dashed;
  transform: translate(-50%, -50%);
}

.model-copy {
  position: relative;
  z-index: 2;
  width: min(52%, 560px);
  margin-left: auto;
}

.model-copy h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.model-copy p { color: var(--muted); }

.knowledge-intro {
  max-width: 820px;
  margin-bottom: 46px;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-card {
  position: relative;
  display: flex;
  min-height: 260px;
  padding: 28px;
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 0, rgba(72, 207, 213, 0.09), transparent 13rem),
    rgba(7, 21, 33, 0.74);
  border: 1px solid var(--line);
  border-radius: 17px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.knowledge-card:hover {
  border-color: rgba(87, 215, 217, 0.55);
  transform: translateY(-4px);
}

.knowledge-card .card-index {
  color: var(--muted-2);
  font-size: 0.7rem;
}

.knowledge-card h2 {
  margin: 28px 0 11px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.08;
}

.knowledge-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.knowledge-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.reference-panel {
  display: grid;
  margin: 62px 0 18px;
  padding: clamp(28px, 4vw, 46px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  background:
    radial-gradient(circle at 8% 10%, rgba(72, 207, 213, 0.1), transparent 17rem),
    rgba(7, 21, 33, 0.74);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.reference-panel h2 {
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-weight: 400;
  line-height: 1.08;
}

.reference-panel p { margin: 0; color: var(--muted); }

.reference-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.reference-panel a {
  display: flex;
  min-height: 58px;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #e8f0f2;
  background: rgba(3, 14, 23, 0.58);
  border: 1px solid rgba(111, 170, 191, 0.22);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.reference-panel a:hover {
  border-color: rgba(87, 215, 217, 0.55);
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e8f0f2;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.signal-panel {
  margin: 52px 0;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(6, 20, 32, 0.84);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.signal-panel h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 400;
  line-height: 1.08;
}

.signal-panel > p {
  margin: 0;
  color: var(--muted);
}

.signal-options {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-button {
  min-height: 44px;
  padding: 10px 17px;
  color: #d8e1e5;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.signal-button[aria-pressed="true"] {
  color: #001316;
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.signal-result {
  margin-top: 26px;
  padding: 18px 20px;
  color: #dce8ec;
  background: rgba(78, 203, 208, 0.07);
  border-left: 2px solid var(--cyan);
}

.signal-result[hidden] { display: none; }

.profile-links,
.contact-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: clamp(28px, 4vw, 48px);
  background: rgba(6, 20, 32, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contact-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.contact-card p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 58px 0 36px;
  border-top: 1px solid rgba(143, 180, 197, 0.16);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.6fr) minmax(220px, 0.6fr);
  gap: 56px;
}

.footer-note {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  color: #b9c4ca;
  font-size: 0.9rem;
}

.footer-column a:hover { color: var(--cyan-soft); }

.footer-bottom {
  display: flex;
  margin-top: 46px;
  padding-top: 22px;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-2);
  border-top: 1px solid rgba(143, 180, 197, 0.1);
  font-size: 0.76rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1180px) {
  :root { --shell: min(95vw, 1720px); }
  .desktop-nav .nav-link { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav {
    position: absolute;
    top: calc(100% - 6px);
    right: 0;
    left: 0;
    display: grid;
    padding: 24px;
    gap: 3px;
    background: rgba(3, 13, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav .nav-link { padding: 13px 8px; }
  .slide-content { width: 51%; padding-left: 90px; }
  .slide-note { display: none; }
  .slide-title { font-size: clamp(2.55rem, 5vw, 4.6rem); }
  .specialty-item { padding: 25px 45px 25px 24px; }
  .principle { padding: 0 14px; }
}

@media (max-width: 860px) {
  :root { --header-h: 78px; }
  .site-header { gap: 14px; }
  .brand-mark { width: 42px; height: 51px; }
  .brand-mark { height: 43px; }
  .brand-mark img { width: 54px; height: auto; }
  .brand-name { font-size: 1.05rem; }
  .brand-role { margin-top: 4px; font-size: 0.58rem; letter-spacing: 0.12em; }
  .desktop-nav { gap: 9px; }
  .desktop-nav > .button { display: none; }
  .editorial-panel { min-height: 760px; border-radius: 21px; }
  .hero-slide { display: grid; grid-template-rows: 310px 1fr; }
  .slide-visual { position: relative; inset: auto; grid-row: 1; }
  .slide-visual::before { inset: 4% 5% -12%; border-radius: 48% 48% 12% 12%; }
  .slide-visual::after {
    background:
      linear-gradient(0deg, #04101b 0, rgba(4, 16, 27, 0.78) 16%, transparent 52%),
      linear-gradient(90deg, rgba(3, 13, 22, 0.35), transparent 35%, rgba(3, 13, 22, 0.2));
  }
  .slide-content {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 36px 28px 82px;
    grid-row: 2;
    justify-content: flex-start;
  }
  .slide-title { max-width: 680px; font-size: clamp(2.35rem, 8.5vw, 4rem); }
  .slide-description { margin: 17px 0 22px; font-size: 0.98rem; line-height: 1.55; }
  .visual-cat .hero-photo,
  .visual-surgery .hero-photo {
    width: 104%;
    height: 100%;
    inset: 0 -2% 0 auto;
    object-fit: cover;
    border-radius: 44% 44% 10% 10%;
    transform: none;
  }
  .visual-cat .hero-photo { object-position: center 38%; }
  .visual-surgery .hero-photo { object-position: center 22%; }
  .visual-portrait .hero-photo {
    width: min(76%, 420px);
    height: 98%;
    inset: 1% auto auto 50%;
    object-fit: contain;
    object-position: center;
    border-radius: 45% 45% 10% 10%;
    transform: translateX(-50%);
  }
  .visual-cutout .hero-photo {
    width: min(92%, 570px);
    height: 100%;
    inset: auto 50% 0 auto;
    object-position: center bottom;
    transform: translateX(50%);
  }
  .tech-rings { top: 45%; right: 50%; width: 410px; transform: translate(50%, -50%); }
  .slide-index { display: none; }
  .carousel-controls { bottom: 25px; }
  .specialty-band {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(275px, 76vw));
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .specialty-item { min-height: 185px; scroll-snap-align: start; }
  .principles {
    border-radius: 18px;
    grid-template-columns: repeat(2, 1fr);
  }
  .principle { padding: 15px; border-right: 0; }
  .principle:nth-child(odd) { border-right: 1px solid rgba(146, 188, 207, 0.1); }
  .principle:nth-child(-n+2) { border-bottom: 1px solid rgba(146, 188, 207, 0.1); }
  .home-closing { grid-template-columns: 1fr; align-items: start; }
  .page-hero { min-height: 500px; padding: 54px 38px; grid-template-columns: 1fr; }
  .page-hero.has-media { padding-bottom: 0; }
  .page-hero-media { min-height: 300px; }
  .page-hero h1 { font-size: clamp(3rem, 10.5vw, 5.4rem); }
  .content-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-stage::before,
  .model-stage::after { left: 50%; top: 31%; }
  .model-copy { width: 100%; margin-top: 245px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100vw - 24px); }
  .brand-copy { max-width: 205px; }
  .brand-name { font-size: 0.96rem; }
  .brand-role { font-size: 0.53rem; }
  .language-switch { display: none; }
  .editorial-panel { min-height: 746px; }
  .hero-slide { grid-template-rows: 294px 1fr; }
  .slide-content { padding: 27px 21px 78px; }
  .slide-kicker { margin-bottom: 11px; font-size: 0.62rem; letter-spacing: 0.15em; }
  .slide-title { font-size: clamp(2.18rem, 11vw, 3rem); line-height: 1; }
  .slide-description { font-size: 0.92rem; }
  .button { width: 100%; padding-inline: 15px; }
  .carousel-arrow { width: 40px; height: 40px; }
  .specialty-band { grid-template-columns: repeat(4, minmax(270px, 84vw)); }
  .principles { grid-template-columns: 1fr; border-radius: 16px; }
  .principle,
  .principle:nth-child(odd),
  .principle:nth-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid rgba(146, 188, 207, 0.1);
  }
  .principle:last-child { border-bottom: 0; }
  .home-closing { margin-top: 68px; padding: 40px 22px; }
  .closing-actions { display: grid; }
  .page-hero { min-height: 420px; padding: 46px 24px; border-radius: 20px; }
  .page-hero.has-media { padding-bottom: 0; }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .page-lead { font-size: 1rem; }
  .page-hero-media { min-height: 270px; }
  .page-content { width: min(88vw, 1240px); padding: 68px 0 84px; }
  .prose-section + .prose-section { margin-top: 44px; padding-top: 44px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 235px; }
  .reference-panel { grid-template-columns: 1fr; }
  .model-stage { min-height: 540px; padding: 28px 22px; }
  .model-stage::before { width: 220px; height: 220px; }
  .model-stage::after { width: 138px; height: 138px; }
  .model-copy { margin-top: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { display: grid; }
  .profile-links { display: grid; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Premium refinement pass — 2026-09-03 */
.editorial-panel {
  min-height: clamp(590px, calc(100svh - 250px), 720px);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.30), inset 0 0 100px rgba(74, 204, 211, 0.03);
}

.slide-content {
  width: 44%;
  padding-left: clamp(76px, 8vw, 148px);
  padding-right: clamp(26px, 3.8vw, 62px);
}

.slide-title {
  max-width: 680px;
  font-size: clamp(2.7rem, 3.75vw, 4.85rem);
  line-height: 1.01;
}

.slide-visual {
  left: 39%;
}

.slide-visual::before {
  inset: 5% -3% -7% 2%;
  border-radius: 46% 8% 13% 46%;
}

.visual-portrait .hero-photo {
  width: min(58%, 650px);
  height: 92%;
  inset: 4% 5.5% auto auto;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 45% 9% 14% 43%;
}

.visual-cat .hero-photo {
  width: 98%;
  height: 100%;
  inset: 0 -1% 0 auto;
  object-position: center 45%;
  border-radius: 43% 7% 12% 43%;
}

.tech-rings {
  right: 8%;
  opacity: 0.45;
}

.slide-note {
  right: clamp(24px, 3.5vw, 58px);
  bottom: clamp(34px, 5vw, 72px);
  width: min(205px, 16vw);
  background: rgba(2, 10, 17, 0.72);
  border: 1px solid rgba(87, 215, 217, 0.16);
  border-left-color: var(--line-bright);
  border-radius: 12px;
}

.specialty-band {
  min-height: 176px;
  margin-top: 14px;
  background: linear-gradient(110deg, rgba(5, 18, 29, 0.96), rgba(2, 11, 19, 0.98));
  border-radius: 18px;
}

.specialty-item {
  padding: 26px 52px 26px 30px;
}

.specialty-item:hover {
  background: linear-gradient(180deg, rgba(87, 215, 217, 0.055), rgba(87, 215, 217, 0.015));
}

.principles {
  margin-top: 12px;
  padding: 17px 22px;
  border-radius: 20px;
}

.home-social {
  display: grid;
  margin: 22px 0 0;
  padding: 24px 28px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 30px;
  background: rgba(3, 13, 22, 0.66);
  border: 1px solid rgba(146, 188, 207, 0.12);
  border-radius: 18px;
}

.home-social-copy .eyebrow {
  margin-bottom: 5px;
}

.home-social-copy strong {
  color: #dce5e9;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 400;
}

.home-social-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.home-social-links a {
  display: inline-flex;
  min-height: 38px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  color: #b9c7ce;
  border: 1px solid rgba(146, 188, 207, 0.16);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.045em;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-social-links a:hover {
  color: var(--cyan-soft);
  border-color: rgba(87, 215, 217, 0.5);
  background: rgba(87, 215, 217, 0.045);
}

.home-social-links .home-social-primary {
  color: #041115;
  background: var(--cyan);
  border-color: var(--cyan);
}

.home-social-links .home-social-primary:hover {
  color: #001014;
  background: var(--cyan-soft);
}

@media (max-width: 760px) {
  .editorial-panel { min-height: 720px; }
  .hero-slide { grid-template-rows: 300px 1fr; }
  .slide-content {
    width: 100%;
    padding: 30px 24px 82px;
    justify-content: flex-start;
  }
  .slide-title { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .slide-description { margin: 18px 0 22px; font-size: 0.98rem; }
  .visual-portrait .hero-photo {
    width: 62%;
    height: 96%;
    inset: 2% 7% auto auto;
    object-position: center 23%;
  }
  .visual-cat .hero-photo {
    width: 100%;
    height: 100%;
    inset: 0;
    object-position: center 44%;
    border-radius: 0 0 28px 28px;
  }
  .slide-note { display: none; }
  .home-social {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .home-social-links { justify-content: flex-start; }
}


/* Refinement pass 03 — social hierarchy, image framing and nutrition slide */
.home-social-top {
  margin: 18px 0 14px;
  padding: 13px 18px;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr);
  border-radius: 16px;
  background: rgba(3, 13, 22, 0.52);
}
.home-social-top .home-social-copy {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 10px;
}
.home-social-top .home-social-copy .eyebrow { margin: 0; white-space: nowrap; }
.home-social-top .home-social-copy strong {
  overflow: hidden;
  color: #cfdbe0;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-social-top .home-social-links a { min-height: 34px; padding: 0 12px; }
.home-social-top + .editorial-panel { margin-top: 0; }

/* Keep technical labels away from faces and dominant facial features. */
.slide-note {
  right: clamp(22px, 3vw, 48px);
  bottom: 20px;
  width: min(205px, 16vw);
}

/* Bring the surgical cutout inward; avoid the 'stuck to the right edge' look. */
.visual-cutout .hero-photo {
  width: min(76%, 850px);
  height: 94%;
  inset: auto 5% 0 auto;
}

/* Nutrition feature uses a real lifestyle photograph without forcing it into a portrait crop. */
.visual-nutrition .hero-photo {
  max-width: none;
  width: 99%;
  height: 100%;
  inset: 0 -1% 0 auto;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 43% 7% 12% 43%;
}

@media (max-width: 760px) {
  .home-social-top {
    margin: 10px 0 10px;
    padding: 12px 13px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-social-top .home-social-copy { display: none; }
  .home-social-top .home-social-links {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .home-social-top .home-social-links::-webkit-scrollbar { display: none; }
  .visual-nutrition .hero-photo {
    width: 100%;
    height: 100%;
    inset: 0;
    object-position: center 46%;
    border-radius: 0 0 28px 28px;
  }
  .visual-cutout .hero-photo {
    width: 78%;
    height: 96%;
    inset: auto 8% 0 auto;
  }
}


/* Final visual polish — calm premium hierarchy, 2026-09-03 */
.home-social-top {
  margin: 22px 0 20px;
  padding: 12px 18px;
  background: rgba(3, 13, 22, 0.44);
  border-color: rgba(146, 188, 207, 0.10);
}
.home-social-top .home-social-links a {
  min-height: 33px;
  padding-inline: 11px;
  border-color: rgba(146, 188, 207, 0.13);
}
.editorial-panel {
  box-shadow: 0 38px 92px rgba(0, 0, 0, 0.27), inset 0 0 92px rgba(74, 204, 211, 0.022);
}
.editorial-panel::before { border-color: rgba(105, 197, 205, 0.095); }
.editorial-panel::after { border-color: rgba(105, 197, 205, 0.06); }
.tech-rings { opacity: 0.36; }
.tech-rings::before, .tech-rings::after { border-color: rgba(91, 210, 215, 0.13); }
.slide-visual::before {
  border-color: rgba(89, 217, 219, 0.26);
  box-shadow: inset 0 0 48px rgba(56, 211, 216, 0.055);
}
.slide-note {
  right: clamp(24px, 3.2vw, 50px);
  bottom: 18px;
  width: min(196px, 15.5vw);
  padding: 12px 14px;
  background: rgba(2, 10, 17, 0.58);
  border-left-color: rgba(87, 215, 217, 0.62);
  font-size: 0.74rem;
}
.specialty-band { margin-top: 16px; }
.principles { margin-top: 11px; }

@media (max-width: 760px) {
  .home-social-top {
    margin: 12px 0 14px;
    padding: 10px 12px;
  }
  .editorial-panel { min-height: 690px; }
  .hero-slide { grid-template-rows: 286px 1fr; }
  .slide-content { padding: 26px 22px 76px; }
  .slide-title { font-size: clamp(2.18rem, 10.4vw, 3.35rem); line-height: 1.01; }
  .slide-description { margin: 16px 0 20px; font-size: 0.94rem; line-height: 1.52; }
  .carousel-controls { bottom: 22px; }
  .tech-rings { opacity: 0.28; }
  .specialty-band { margin-top: 14px; }
}
/* Final conservative polish — professional channels integrated into the top rhythm */
.home-social-top {
  display: flex;
  width: 100%;
  margin: 8px 0 18px;
  padding: 7px 2px 10px;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(146, 188, 207, 0.10);
  border-radius: 0;
}
.home-social-top > a {
  display: inline-flex;
  min-height: 30px;
  padding: 0 5px;
  align-items: center;
  gap: 6px;
  color: #aebdc5;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 160ms ease, opacity 160ms ease;
}
.home-social-top > a:hover { color: #eef6f7; }
.home-social-top > .home-social-primary {
  color: var(--cyan-soft);
  background: transparent;
  border: 0;
}
.home-social-top > .home-social-primary:hover { color: #d5ffff; background: transparent; }
.home-social-separator {
  width: 1px;
  height: 15px;
  flex: 0 0 auto;
  background: rgba(146, 188, 207, 0.16);
}
.home-social-top + .editorial-panel { margin-top: 0; }

/* Slightly calmer technical atmosphere and lighter editorial annotation. */
.tech-rings { opacity: 0.31; }
.slide-visual::before {
  border-color: rgba(89, 217, 219, 0.22);
  box-shadow: inset 0 0 42px rgba(56, 211, 216, 0.042);
}
.slide-note {
  right: clamp(22px, 2.8vw, 44px);
  bottom: 13px;
  width: min(190px, 15vw);
  padding: 10px 12px;
  background: rgba(2, 10, 17, 0.46);
  border-left-color: rgba(87, 215, 217, 0.52);
  font-size: 0.70rem;
  backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
  .home-social-top {
    display: grid;
    margin: 5px 0 12px;
    padding: 5px 0 8px;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    justify-content: start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .home-social-top::-webkit-scrollbar { display: none; }
  .home-social-top > a {
    min-height: 32px;
    padding-inline: 4px;
    font-size: 0.66rem;
  }
  .home-social-separator { height: 13px; align-self: center; }
  .editorial-panel { min-height: 670px; }
  .hero-slide { grid-template-rows: 278px 1fr; }
  .slide-content { padding: 24px 21px 72px; }
  .slide-title { font-size: clamp(2.08rem, 10vw, 3.2rem); }
  .slide-description { margin: 14px 0 19px; }
  .tech-rings { opacity: 0.23; }
}

/* Editorial medical covers */
.page-hero-media.editorial-cover {
  min-height: 390px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(194, 219, 229, .13);
  background: #071018;
}
.page-hero-media.editorial-cover img {
  object-fit: cover;
  object-position: center;
  filter: none;
}
.tplo-anatomy { width:min(88vw,1240px); margin:88px auto 0; display:grid; grid-template-columns:minmax(260px,.55fr) minmax(0,1.25fr); gap:clamp(32px,6vw,84px); align-items:center; }
.tplo-anatomy-copy h2 { font-family:var(--serif); font-weight:400; font-size:clamp(2rem,4vw,4.2rem); line-height:1; margin:10px 0 22px; }
.tplo-anatomy-copy p:last-child { color:#aebbc2; line-height:1.7; }
.tplo-hotspot-stage { position:relative; overflow:hidden; border-radius:28px; border:1px solid rgba(194,219,229,.14); background:#061019; }
.tplo-hotspot-stage img { display:block; width:100%; height:auto; }
.anatomy-hotspot { position:absolute; width:17px; height:17px; padding:0; border-radius:50%; border:1px solid rgba(236,249,255,.9); background:rgba(105,200,229,.78); box-shadow:0 0 0 7px rgba(105,200,229,.10),0 0 24px rgba(105,200,229,.35); cursor:pointer; }
.anatomy-hotspot::after { content:''; position:absolute; inset:-12px; }
.anatomy-hotspot span { position:absolute; left:25px; top:50%; transform:translateY(-50%) translateX(-5px); white-space:nowrap; opacity:0; pointer-events:none; padding:7px 10px; border:1px solid rgba(199,225,234,.18); border-radius:8px; background:rgba(5,13,19,.92); color:#edf8fb; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; transition:.18s ease; }
.anatomy-hotspot:hover span,.anatomy-hotspot:focus span { opacity:1; transform:translateY(-50%) translateX(0); }
.anatomy-patela { left:70.5%; top:51%; }.anatomy-femur { left:67.5%; top:43%; }.anatomy-plato { left:68.5%; top:58%; }.anatomy-tuberosidade { left:71.5%; top:63%; }.anatomy-fibula { left:64.5%; top:62%; }
@media (max-width:760px){ .tplo-anatomy{grid-template-columns:1fr;margin-top:58px}.page-hero-media.editorial-cover{min-height:270px}.anatomy-hotspot span{font-size:.62rem;left:auto;right:24px}.anatomy-hotspot:focus span{opacity:1} }

/* Social strip layout correction — desktop channels stay in one compact row */
@media (min-width: 761px) {
  .home-social.home-social-top {
    display: flex;
    width: 100%;
    min-height: 58px;
    margin: 14px 0 14px;
    padding: 8px 18px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    overflow: hidden;
    background: rgba(3, 13, 22, 0.46);
    border: 1px solid rgba(146, 188, 207, 0.11);
    border-radius: 16px;
  }
  .home-social.home-social-top > a {
    display: inline-flex;
    min-height: 38px;
    padding: 0 20px;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .home-social.home-social-top > a:first-child { padding-left: 4px; }
  .home-social.home-social-top .home-social-separator {
    width: 1px;
    height: 24px;
    margin: 0 10px;
    flex: 0 0 1px;
    align-self: center;
  }
  .home-social.home-social-top + .editorial-panel { margin-top: 0; }
}

/* Refinos finais: páginas internas e TPLO. Regras deliberadamente escopadas para não alterar a home. */
.anatomy-patela { left:36.4%; top:58.5%; }
.anatomy-femur { left:35.1%; top:52.5%; }
.anatomy-plato { left:35.4%; top:61.3%; }
.anatomy-tuberosidade { left:36.7%; top:64.7%; }
.anatomy-fibula { left:33.7%; top:63.2%; }

.pwa-install-link {
  appearance:none;border:0;background:none;color:var(--cyan);font:inherit;padding:0;text-align:left;cursor:pointer;
}
.pwa-install-link:hover,.pwa-install-link:focus-visible { color:#e8fbff; text-decoration:underline; }

@media (max-width: 760px) {
  .page-shell { padding-left:18px; padding-right:18px; }
  .page-hero.has-media { grid-template-columns:1fr; min-height:0; }
  .page-hero-copy { padding:42px 24px 28px; }
  .page-hero-media.editorial-cover { min-height:0; aspect-ratio:16/10; border-radius:0 0 24px 24px; }
  .page-hero-media.editorial-cover img { width:100%; height:100%; object-fit:cover; object-position:center; }
  .page-content { padding-top:46px; }
  .content-grid { grid-template-columns:1fr; gap:34px; }
  .side-panel { position:static; }
  .prose-section { padding:0 0 34px; margin-bottom:34px; }
  .prose-section h2 { font-size:clamp(2rem,10vw,3.1rem); line-height:1.02; }
  .tplo-hotspot-stage { border-radius:20px; }
  .tplo-anatomy-copy h2 { font-size:clamp(2rem,10vw,3.2rem); }
  .anatomy-hotspot { width:15px; height:15px; }
  .anatomy-hotspot span { max-width:170px; white-space:normal; text-align:left; }
}

/* Patch final: somente páginas internas / conhecimento / PWA. Home preservada. */
.page-hero-media.photo-speaker {
  width: min(100%, 550px);
  height: 390px;
  min-height: 390px;
  aspect-ratio: auto;
  align-self: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(194, 219, 229, .13);
  border-radius: 26px;
  background: #071018;
}
.page-hero-media.photo-speaker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
}
.page-hero-media.knowledge-cover img { object-position: center; }
.page-hero-media.editorial-cover,
.page-hero-media.photo-speaker { position: relative; }
.page-hero-media.editorial-cover::after,
.page-hero-media.photo-speaker::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3,12,20,.18), transparent 24%);
}

.secondary-media {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin: 76px 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 20, 32, .62);
}
.secondary-media-image {
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 18px;
  background: #02060b;
}
.secondary-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.secondary-media figcaption h2 {
  margin: 8px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.04;
}
.secondary-media figcaption p:last-child {
  margin: 0;
  color: var(--muted);
}

.editorial-note {
  display: flex;
  margin: 54px 0 12px;
  padding: 18px 22px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(143,180,197,.16);
  border-bottom: 1px solid rgba(143,180,197,.16);
  font-size: .82rem;
}
.editorial-note strong {
  color: var(--cyan-soft);
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* TPLO: pontos alinhados à representação anatômica real da imagem. */
.anatomy-patela { left: 51.6%; top: 56.2%; }
.anatomy-femur { left: 50.4%; top: 52.7%; }
.anatomy-plato { left: 50.3%; top: 58.8%; }
.anatomy-tuberosidade { left: 48.7%; top: 61.0%; }
.anatomy-fibula { left: 48.0%; top: 58.9%; }
.anatomy-hotspot.is-open span { opacity: 1; transform: translateY(-50%) translateX(0); }
.anatomy-femur span,
.anatomy-fibula span,
.anatomy-tuberosidade span { left: auto; right: 25px; }

@media (max-width: 760px) {
  .page-hero-media.photo-speaker {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
    justify-self: stretch;
    border-radius: 0 0 24px 24px;
  }
  .page-hero-media.photo-speaker img { object-position: 50% 64%; }
  .secondary-media { grid-template-columns: 1fr; margin: 54px 0; padding: 18px; }
  .secondary-media-image { aspect-ratio: 4/3; }
  .editorial-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .anatomy-femur span,
  .anatomy-fibula span,
  .anatomy-tuberosidade span { left:auto; right:24px; }
}


/* Patch 100% — somente os três ajustes finais aprovados. HOME NÃO ALTERADA. */

/* Contato: foto escolhida pelo usuário, usada exatamente como enviada.
   Sem regeneração, sem filtro e sem recorte de pixels; o enquadramento é feito apenas pelo CSS. */
.page-hero.contact-hero,
.page-hero:has(.contact-portrait) {
  padding-right: clamp(34px, 4.4vw, 72px);
}
.page-hero-media.contact-portrait {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
  align-self: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(194, 219, 229, .13);
  border-radius: 26px;
  background: #071018;
}
.page-hero-media.contact-portrait::before {
  display: none;
}
.page-hero-media.contact-portrait .contact-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}
.page-hero-media.contact-portrait .contact-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: none;
}
.page-hero-media.contact-portrait .contact-xray-screen {
  display: none;
}

@media (max-width: 760px) {
  .page-hero:has(.contact-portrait) {
    grid-template-columns: 1fr;
    padding-right: 0;
  }
  .page-hero-media.contact-portrait {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
    justify-self: stretch;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
  }
  .page-hero-media.contact-portrait .contact-scene {
    inset: 0;
    transform: none;
  }
}

/* TPLO: pontos calibrados diretamente sobre a anatomia desenhada no joelho. */
.anatomy-femur { left: 51.1%; top: 55.4%; }
.anatomy-patela { left: 52.8%; top: 57.6%; }
.anatomy-plato { left: 50.7%; top: 59.8%; }
.anatomy-tuberosidade { left: 51.5%; top: 62.2%; }
.anatomy-fibula { left: 49.0%; top: 60.8%; }

/* Radiografia da luxação patelar: prioriza os joelhos, preservando contexto proximal. */
.secondary-media-image.patella-radiograph img {
  object-fit: cover;
  object-position: center 73%;
}

@media (max-width: 760px) {
  .page-hero:has(.contact-portrait) {
    grid-template-columns: 1fr;
    padding-right: 0;
  }
  .page-hero-media.contact-portrait {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1122 / 800;
    justify-self: stretch;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
  }
  .page-hero-media.contact-portrait .contact-scene {
    transform: translateY(-50%) scale(1.25);
  }
  .secondary-media-image.patella-radiograph img { object-position: center 72%; }
}


/* Patch anatômico final — 2026-09-04. Mantém todo o restante congelado. */
/* Coordenadas calibradas sobre a representação óssea visível no joelho da imagem TPLO. */
.anatomy-femur { left: 50.8%; top: 57.1%; }
.anatomy-patela { left: 53.0%; top: 57.7%; }
.anatomy-plato { left: 50.1%; top: 61.1%; }
.anatomy-tuberosidade { left: 51.4%; top: 63.1%; }
.anatomy-fibula { left: 48.8%; top: 61.9%; }

/* A radiografia já está recortada para incluir os joelhos; não forçar crop adicional. */
.secondary-media-image.patella-radiograph img {
  object-fit: contain;
  object-position: center center;
  background: #050b11;
}
@media (max-width:760px){
  .secondary-media-image.patella-radiograph img { object-position:center center; }
}

/* Mobile image framing patch — 2026-09-04.
   Deliberately scoped to <=760px so the approved desktop composition is untouched. */
@media (max-width: 760px) {
  .slide-visual {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide-visual .hero-photo {
    transform: none !important;
    max-width: none;
    border-radius: 0 0 26px 26px;
  }
  .visual-portrait .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
  .visual-cat .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
  }
  .visual-surgery .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
  }
  .visual-cutout .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
  .visual-nutrition .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 43%;
  }
}

/* Mobile internal-page layout correction — 2026-09-04.
   Removes the duplicated horizontal padding that narrowed and clipped page content. */
@media (max-width: 760px) {
  .page-shell {
    width: calc(100% - 24px);
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .page-hero,
  .page-hero.has-media,
  .page-hero.contact-hero,
  .page-hero:has(.contact-portrait) {
    width: 100%;
    min-height: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .page-hero-copy {
    min-width: 0;
    padding: clamp(34px, 9vw, 48px) clamp(20px, 6vw, 34px) 28px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11vw, 3.65rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .page-lead,
  .page-hero-media,
  .content-grid > *,
  .knowledge-grid > *,
  .contact-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .page-content {
    width: 100%;
    padding: 46px clamp(8px, 3vw, 16px) 84px;
  }

  .prose-section h2,
  .section-heading,
  .side-panel h2,
  .knowledge-card h2,
  .contact-card h2,
  .reference-panel h2,
  .secondary-media h2,
  .tplo-anatomy-copy h2 {
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Mobile photo-position safeguard — 2026-09-04.
   Scoped only to phone/tablet widths. Desktop (>860px) remains unchanged. */
@media (max-width: 860px) {
  .slide-visual {
    left: 0 !important;
    right: auto !important;
  }
}

/* FINAL contact photo safeguard — v5 2026-09-07.
   Must remain last so older inherited contact rules cannot crop/translate the approved photo. */
.page-hero-media.contact-portrait {
  aspect-ratio: 3 / 2;
}
.page-hero-media.contact-portrait .contact-scene {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}
.page-hero-media.contact-portrait .contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: none;
}
@media (max-width: 760px) {
  .page-hero-media.contact-portrait {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    justify-self: stretch;
    overflow: hidden;
  }
  .page-hero-media.contact-portrait .contact-scene {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }
  .page-hero-media.contact-portrait .contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
}

/* ===== Agenda clínica v6 — escopo isolado ===== */
.schedule-page,
.agenda-admin-page {
  --agenda-surface: rgba(6, 18, 30, 0.82);
  --agenda-surface-2: rgba(10, 27, 41, 0.7);
  --agenda-line: rgba(169, 201, 217, 0.18);
  --agenda-available: #57d7d9;
  --agenda-pending: #e7c98a;
  --agenda-confirmed: #9ce9e9;
}

.schedule-hero {
  min-height: auto;
  padding-bottom: 38px;
}

.schedule-hero-media {
  min-height: 320px;
  align-self: center;
}

.schedule-hero-media img {
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.34));
}

.schedule-open-note {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 9px 14px;
  color: var(--cyan-soft);
  background: rgba(87, 215, 217, 0.07);
  border: 1px solid rgba(87, 215, 217, 0.24);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.schedule-layout,
.admin-agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: start;
}

.schedule-calendar-card,
.schedule-side-panel,
.admin-day-panel,
.admin-config-card,
.admin-login-form,
.admin-pending-section {
  background: linear-gradient(145deg, rgba(7, 20, 32, 0.92), rgba(4, 13, 22, 0.84));
  border: 1px solid var(--agenda-line);
  border-radius: 24px;
}

.schedule-calendar-card {
  padding: 24px;
}

.agenda-calendar-header {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.agenda-calendar-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  text-align: center;
}

.agenda-nav-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--agenda-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.agenda-nav-button:hover:not(:disabled) {
  color: #001216;
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.agenda-nav-button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.agenda-weekdays,
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.agenda-weekdays {
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.agenda-day,
.agenda-day-spacer {
  min-width: 0;
  aspect-ratio: 1 / 0.92;
}

.agenda-day {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 8px;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(169, 201, 217, 0.11);
  border-radius: 13px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.agenda-day:hover {
  transform: translateY(-1px);
}

.agenda-day.is-unavailable {
  color: rgba(203, 216, 224, 0.38);
  background: rgba(255, 255, 255, 0.012);
  border-color: rgba(169, 201, 217, 0.07);
  cursor: not-allowed;
}

.agenda-day.is-unavailable:hover {
  transform: none;
}

.agenda-day.is-available {
  border-color: rgba(87, 215, 217, 0.34);
  background: linear-gradient(145deg, rgba(87, 215, 217, 0.08), rgba(255, 255, 255, 0.018));
}

.agenda-day[aria-current="date"] {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(87, 215, 217, 0.25);
}

.agenda-day-number {
  font-size: 0.9rem;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.agenda-day-dot {
  position: absolute;
  bottom: 7px;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.agenda-day.is-available .agenda-day-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(87, 215, 217, 0.38);
}

.agenda-legend,
.admin-calendar-legend {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.76rem;
}

.agenda-legend span,
.admin-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.legend-dot.available {
  background: var(--cyan);
}

.schedule-side-panel,
.admin-day-panel {
  padding: clamp(24px, 3vw, 36px);
}

.schedule-side-panel h2,
.admin-day-panel h2,
.admin-config-card h2,
.admin-pending-section h2,
.admin-login-form h2 {
  margin: 6px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  font-weight: 500;
}

.schedule-day-message,
.admin-empty {
  margin: 0;
  color: var(--muted);
}

.agenda-time-list {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.agenda-time {
  min-height: 46px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--agenda-line);
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.agenda-time:hover,
.agenda-time[aria-pressed="true"] {
  color: #001216;
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.booking-form-shell {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--agenda-line);
}

.chosen-slot {
  margin-bottom: 18px;
  color: var(--cyan-soft);
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0.055em;
}

.booking-form,
.admin-login-form,
.admin-config-card form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-form label,
.admin-login-form label,
.admin-config-card label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.booking-form label > span,
.admin-login-form label > span,
.admin-config-card label > span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-login-form input,
.admin-config-card input,
.admin-config-card select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  background: rgba(1, 8, 14, 0.64);
  border: 1px solid var(--agenda-line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
}

.booking-form textarea {
  min-height: 104px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.admin-login-form input:focus,
.admin-config-card input:focus,
.admin-config-card select:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 2px rgba(87, 215, 217, 0.12);
}

.booking-form option,
.admin-config-card option {
  color: #08111a;
}

.form-full {
  grid-column: 1 / -1;
}

.consent-check {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--cyan);
}

.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-feedback,
.admin-inline-feedback,
.admin-global-feedback {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--agenda-line);
  border-radius: 10px;
  font-size: 0.82rem;
}

.booking-feedback[data-kind="success"],
.admin-global-feedback[data-kind="success"] {
  color: var(--cyan-soft);
  border-color: rgba(87, 215, 217, 0.32);
}

.booking-feedback[data-kind="error"],
.admin-global-feedback[data-kind="error"],
.admin-inline-feedback {
  color: #f1b8b8;
  border-color: rgba(231, 132, 132, 0.28);
}

.agenda-load-error {
  grid-column: 1 / -1;
  padding: 24px 12px;
  color: var(--muted);
  text-align: center;
}

.schedule-support {
  display: flex;
  margin-top: 34px;
  padding: 26px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(6, 18, 30, 0.48);
  border: 1px solid var(--agenda-line);
  border-radius: 20px;
}

.schedule-support h2 {
  margin: 5px 0 7px;
  font-family: var(--serif);
  font-weight: 500;
}

.schedule-support p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

/* Administração */
.compact-admin-hero {
  min-height: auto;
  padding-bottom: 26px;
}

.admin-login-panel {
  display: grid;
  min-height: 360px;
  place-items: start center;
}

.admin-login-form {
  width: min(100%, 480px);
  padding: 32px;
}

.admin-toolbar {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-toolbar > div {
  display: grid;
  gap: 4px;
}

.admin-role {
  width: fit-content;
  padding: 4px 8px;
  color: var(--cyan-soft);
  background: rgba(87, 215, 217, 0.08);
  border: 1px solid rgba(87, 215, 217, 0.22);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-summary-grid {
  display: grid;
  margin-bottom: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-grid article {
  padding: 22px;
  background: var(--agenda-surface);
  border: 1px solid var(--agenda-line);
  border-radius: 18px;
}

.admin-summary-grid span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.admin-summary-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-pending-section {
  margin-bottom: 26px;
  padding: 26px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.pending-list {
  display: grid;
  gap: 10px;
}

.pending-card {
  display: grid;
  padding: 16px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(231, 201, 138, 0.2);
  border-radius: 14px;
}

.pending-card > div:first-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.pending-card strong {
  font-size: 0.96rem;
}

.pending-card span:not(.pending-date) {
  color: var(--muted);
  font-size: 0.78rem;
}

.pending-date {
  color: var(--agenda-pending);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.05em;
}

.admin-whatsapp {
  color: var(--cyan-soft);
  font-size: 0.75rem;
  font-weight: 750;
  white-space: nowrap;
}

.admin-calendar-card {
  position: sticky;
  top: 20px;
}

.admin-agenda-day.has-pending {
  border-color: rgba(231, 201, 138, 0.46);
}

.admin-agenda-day.has-confirmed {
  border-color: rgba(156, 233, 233, 0.32);
}

.admin-agenda-day.has-available {
  border-color: rgba(87, 215, 217, 0.22);
}

.admin-day-counts {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: inline-flex;
  gap: 3px;
}

.admin-day-counts b,
.admin-day-counts i,
.admin-day-counts em,
.admin-calendar-legend b,
.admin-calendar-legend i,
.admin-calendar-legend em {
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.55rem;
  font-style: normal;
  line-height: 1;
}

.admin-day-counts b,
.admin-calendar-legend b { background: var(--agenda-pending); color: #231b0a; }
.admin-day-counts i,
.admin-calendar-legend i { background: var(--agenda-confirmed); color: #001216; }
.admin-day-counts em,
.admin-calendar-legend em { background: rgba(87, 215, 217, 0.22); color: var(--cyan-soft); }

.admin-agenda-entry {
  display: grid;
  padding: 16px 0;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--agenda-line);
}

.admin-agenda-entry:last-child {
  border-bottom: 0;
}

.admin-entry-time {
  display: grid;
  align-content: start;
}

.admin-entry-time strong {
  color: var(--cyan-soft);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.admin-entry-time span {
  color: var(--muted-2);
  font-size: 0.68rem;
}

.admin-client {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-client > span,
.admin-slot-free {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-client p {
  margin: 6px 0;
  color: #c4ced5;
  font-size: 0.78rem;
  line-height: 1.55;
}

.admin-status {
  grid-column: 2;
  width: fit-content;
  padding: 4px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--agenda-line);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 740;
}

.status-pending { color: var(--agenda-pending); border-color: rgba(231, 201, 138, 0.3); }
.status-confirmed { color: var(--cyan-soft); border-color: rgba(87, 215, 217, 0.3); }

.admin-entry-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-entry-actions button,
.admin-remove-slot {
  min-height: 36px;
  padding: 0 12px;
  color: #001216;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-soft);
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 780;
}

.admin-entry-actions button.secondary,
.admin-remove-slot {
  color: var(--muted);
  background: transparent;
  border-color: var(--agenda-line);
}

.admin-remove-slot {
  grid-column: 2;
  width: fit-content;
}

.admin-config-grid {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-config-card {
  padding: 26px;
}

.admin-config-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .schedule-hero {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .schedule-hero-media {
    min-height: 300px;
  }

  .schedule-layout,
  .admin-agenda-layout {
    grid-template-columns: 1fr;
  }

  .admin-calendar-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .schedule-calendar-card,
  .schedule-side-panel,
  .admin-day-panel,
  .admin-config-card,
  .admin-pending-section,
  .admin-login-form {
    padding: 18px;
    border-radius: 18px;
  }

  .agenda-calendar-header {
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .agenda-nav-button {
    width: 42px;
    height: 42px;
  }

  .agenda-weekdays,
  .agenda-grid {
    gap: 4px;
  }

  .agenda-day {
    min-height: 44px;
    padding: 5px;
    border-radius: 10px;
  }

  .agenda-day-number {
    font-size: 0.78rem;
  }

  .agenda-time-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .admin-summary-grid,
  .admin-config-grid {
    grid-template-columns: 1fr;
  }

  .schedule-support {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .pending-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-entry-actions,
  .admin-status,
  .admin-remove-slot {
    grid-column: 1 / -1;
  }

  .admin-agenda-entry {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-toolbar {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .agenda-day {
    min-height: 40px;
  }

  .agenda-day-dot {
    bottom: 4px;
  }

  .admin-day-counts {
    right: 3px;
    bottom: 3px;
  }
}

.payment-attention-section{border-color:rgba(220,166,90,.45);background:linear-gradient(180deg,rgba(45,31,14,.28),rgba(6,18,30,.9))}.payment-attention-card{border-color:rgba(220,166,90,.38)}.payment-attention-card>p{grid-column:1/-1;color:#d9c4a0;margin:0}.payment-attention-card>a{width:max-content}
