:root {
  --bg-deep: #050505;
  --bg-night: #111111;
  --bg-soft: #171717;
  --clinical-white: #ffffff;
  --warm-light: #f7f5f0;
  --champagne: #d6b347;
  --champagne-light: #f0d878;
  --pearl: #ece7dd;
  --support: #7f7f7f;
  --cyan: #91f4ff;
  --border: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(17, 17, 17, 0.1);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.18);
  --shadow-premium: 0 30px 90px rgba(0, 0, 0, 0.3);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: 1240px;
  --specialists-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, #050505 0%, #111111 22%, #f7f5f0 63%, #ffffff 100%);
  color: var(--clinical-white);
  overflow-x: hidden;
  position: relative;
}

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

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

button {
  font: inherit;
}

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(145, 244, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 179, 71, 0.28), transparent 34%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(214, 179, 71, 0.14), transparent 30%);
  z-index: 0;
}

.gravity-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.42;
  animation: gravityPulse 10s ease-in-out infinite;
  will-change: transform;
  mix-blend-mode: screen;
}

.gravity-orb--1,
.gravity-orb--4 {
  background: radial-gradient(circle, rgba(214, 179, 71, 0.85), rgba(214, 179, 71, 0));
}

.gravity-orb--2,
.gravity-orb--5 {
  background: radial-gradient(circle, rgba(145, 244, 255, 0.55), rgba(145, 244, 255, 0));
}

.gravity-orb--3 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.gravity-orb--1 { width: 260px; height: 260px; top: 8%; left: 4%; }
.gravity-orb--2 { width: 180px; height: 180px; top: 32%; right: 8%; animation-delay: -4s; }
.gravity-orb--3 { width: 120px; height: 120px; top: 58%; left: 16%; animation-delay: -7s; }
.gravity-orb--4 { width: 220px; height: 220px; bottom: 14%; right: 18%; animation-delay: -9s; }
.gravity-orb--5 { width: 140px; height: 140px; bottom: 10%; left: 46%; animation-delay: -12s; }

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.14) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 42%, rgba(214,179,71,0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 76%, rgba(145,244,255,0.1) 0 1px, transparent 1px);
  background-size: 240px 240px, 300px 300px, 260px 260px;
  opacity: 0.42;
  mix-blend-mode: normal;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(214,179,71,0.12), transparent 18%),
    radial-gradient(circle at 82% 62%, rgba(145,244,255,0.12), transparent 20%),
    radial-gradient(circle at 44% 48%, rgba(17,17,17,0.06), transparent 24%);
  opacity: 0.66;
  mix-blend-mode: soft-light;
}

@keyframes gravityPulse {
  0%, 100% { opacity: 0.24; filter: blur(12px); }
  50% { opacity: 0.4; filter: blur(18px); }
}

.site-chrome {
  position: fixed;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 40;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-mark,
.floating-pill,
.section-dots,
.stat-card,
.hero-feature-card,
.panel,
.branch-card,
.contact-card,
.resource-card,
.modal__panel,
.team-gallery-card,
.filter-chip,
.case-card,
.specialist-chip {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.58);
}

.brand-mark__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-mark__wordmark {
  width: min(220px, 36vw);
  height: auto;
  object-fit: contain;
}

.brand-kicker,
.eyebrow,
.scroll-copy,
.stat-label,
.video-chip,
.section-note,
.contact-branches a,
.text-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.chrome-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 999px;
}

.chrome-actions .cta-button {
  display: none;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switcher__button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switcher__button.is-active {
  background: rgba(214, 179, 71, 0.92);
  color: #111111;
}

.cta-button,
.text-link,
.faq-question,
.modal__close,
.filter-chip,
.specialist-chip {
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(214, 179, 71, 0.52);
  background: linear-gradient(135deg, rgba(214, 179, 71, 0.96), rgba(240, 216, 120, 0.9));
  color: #111111;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(214, 179, 71, 0.28);
}

.cta-button:hover,
.text-link:hover,
.filter-chip:hover,
.specialist-chip:hover,
.faq-question:hover,
.modal__close:hover {
  transform: translateY(-2px);
}

.cta-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clinical-white);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--champagne);
}

.text-link::after {
  content: "+";
  font-size: 1rem;
}

.section-dots {
  position: fixed;
  top: 50%;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
  z-index: 30;
}

.section-dots a {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.section-dots a.is-active {
  background: var(--champagne);
  border-color: var(--champagne);
}

.section-dots a::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: white;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-dots a:hover::after {
  opacity: 1;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 35;
}

.floating-pill {
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8, 8, 8, 0.9), rgba(22, 22, 22, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.floating-pill--secondary {
  background: linear-gradient(135deg, rgba(214, 179, 71, 0.92), rgba(240, 216, 120, 0.82));
  color: #111111;
  border-color: rgba(214, 179, 71, 0.42);
}

main {
  position: relative;
  z-index: 1;
}

.site-footer,
.floating-contact,
.section-dots {
  z-index: 2;
}

.section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 120px clamp(20px, 4vw, 56px);
  overflow: clip;
}

.section--night {
  color: var(--clinical-white);
}

.section--light,
.section--pearl,
.section--editorial,
.section--transition {
  color: #131313;
}

.section--light::before,
.section--pearl::before,
.section--editorial::before,
.section--transition::before,
.section--light::after,
.section--pearl::after,
.section--editorial::after,
.section--transition::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section--light > *,
.section--pearl > *,
.section--editorial > *,
.section--transition > * {
  position: relative;
  z-index: 1;
}

.section--transition::before {
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  top: 6%;
  left: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 179, 71, 0.26), rgba(214, 179, 71, 0));
  filter: blur(8px);
  animation: lightDriftA 18s ease-in-out infinite;
}

.section--transition::after {
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(214,179,71,0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 74% 68%, rgba(145,244,255,0.16) 0 1px, transparent 1px);
  background-size: 220px 220px, 260px 260px;
  opacity: 0.95;
  animation: lightParticles 20s linear infinite;
}

.section--light::before,
.section--pearl::before,
.section--editorial::before {
  width: 28vw;
  height: 28vw;
  min-width: 220px;
  min-height: 220px;
  right: -6%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 244, 255, 0.26), rgba(145, 244, 255, 0));
  filter: blur(6px);
  animation: lightDriftB 16s ease-in-out infinite;
}

.section--light::after,
.section--pearl::after,
.section--editorial::after {
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(214,179,71,0.22) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 84% 30%, rgba(145,244,255,0.2) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 48% 54%, rgba(17,17,17,0.1) 0 1px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
  opacity: 0.95;
  animation: lightParticles 22s linear infinite;
}

@keyframes lightDriftA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(42px, 18px, 0) scale(1.08); }
}

@keyframes lightDriftB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-36px, 22px, 0) scale(1.06); }
}

@keyframes lightParticles {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 80px 120px, -60px 90px, 40px -80px; }
}

.section--transition {
  background:
    linear-gradient(180deg, rgba(241, 236, 227, 0.98), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top left, rgba(197, 168, 128, 0.2), transparent 35%);
}

.section--light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.98)),
    radial-gradient(circle at top right, rgba(145, 244, 255, 0.12), transparent 30%);
}

.section--pearl {
  background:
    linear-gradient(180deg, rgba(236, 231, 221, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at left, rgba(197, 168, 128, 0.16), transparent 36%);
}

.section--editorial {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 242, 236, 0.98));
}

.section-frame {
  position: absolute;
  inset: 36px 0 auto;
  height: calc(100% - 72px);
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.72fr;
  grid-template-areas: "media copy side";
  gap: 24px;
  align-items: center;
  padding-top: 150px;
}

.hero-media {
  grid-area: media;
  position: relative;
  min-height: 640px;
}

.hero-media__backdrop,
.hero-media__halo {
  position: absolute;
  border-radius: 36px;
}

.hero-media__backdrop {
  inset: 50px 0 0 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), linear-gradient(135deg, rgba(197, 168, 128, 0.12), rgba(145, 244, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-premium);
}

.hero-media__portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  border-radius: 36px;
  filter: saturate(0.94) contrast(1.08);
}

.hero-media__halo {
  right: -30px;
  bottom: 30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(145, 244, 255, 0.3), rgba(145, 244, 255, 0.02) 70%);
  z-index: 1;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
}

.hero-wordmark {
  width: min(100%, 420px);
  margin: 0 0 18px;
  opacity: 0.92;
}

.hero h1,
.section-heading h2,
.ceo-sidebar h2,
.specialist-focus h3,
.hero-feature-card h3,
.panel h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 6.4rem);
  max-width: 12ch;
}

.hero-lead,
.section-support,
.branch-card p,
.contact-card p,
.resource-card p,
.specialist-focus p,
.panel p,
.ceo-content p,
.hero-feature-card p {
  line-height: 1.8;
  color: inherit;
  opacity: 0.84;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.scroll-copy {
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-side {
  grid-area: side;
  display: grid;
  gap: 18px;
}

.hero-feature-card,
.stat-card,
.panel,
.branch-card,
.contact-card,
.resource-card,
.team-gallery-card,
.map-placeholder,
.specialist-focus,
.case-card,
.contact-branches article {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

.hero-feature-card,
.panel,
.contact-card,
.resource-card,
.map-placeholder,
.team-gallery-card,
.branch-card__body,
.specialist-focus,
.case-card,
.contact-branches article {
  padding: 28px;
}

.hero-feature-card--video {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(145, 244, 255, 0.06));
}

.hero-feature-card--count {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 180px;
}

.hero-feature-card__count {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.8;
  color: var(--champagne-light);
}

.hero-feature-card__count--text {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
}

.video-chip {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
}

.stats-grid {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-value {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: var(--champagne-light);
}

.stat-value--text {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 13ch;
}

.section-support {
  max-width: 760px;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.design-grid > .panel:nth-child(1) {
  grid-column: span 7;
}

.design-grid > .panel:nth-child(2) {
  grid-column: span 5;
}

.design-grid > .panel:nth-child(3),
.design-grid > .panel:nth-child(4) {
  grid-column: span 6;
}

.section--transition .panel,
.section--light .branch-card,
.section--pearl .case-card,
.section--editorial .resource-card,
.section--light .contact-card,
.section--light .contact-branches article,
.section--light .map-placeholder {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.08);
}

.media-placeholder,
.branch-card__visual,
.resource-card,
.contact-card,
.case-card__media {
  overflow: hidden;
}

.media-placeholder {
  min-height: 260px;
  margin-top: 22px;
  border-radius: 28px;
  border: 1px dashed rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(135deg, rgba(197, 168, 128, 0.18), rgba(145, 244, 255, 0.18)),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.04) 0 12px, transparent 12px 24px);
}

.media-placeholder--image {
  overflow: hidden;
}

.media-placeholder--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.values-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.values-cloud span,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-columns div {
  padding: 20px;
  border-radius: 24px;
  background: rgba(17, 17, 17, 0.04);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq-list {
  margin-top: 24px;
}

.faq-item {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0 0 18px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.specialists-section {
  padding-bottom: 80px;
  background:
    radial-gradient(circle at top, rgba(197, 168, 128, 0.18), transparent 26%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

.specialists-stage {
  min-height: 240vh;
  margin-top: 40px;
  width: 100%;
}

.specialists-stage__sticky {
  position: sticky;
  top: 110px;
  min-height: calc(100vh - 150px);
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(197, 168, 128, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(145, 244, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.94), rgba(5, 5, 5, 0.98));
}

.specialists-composition {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 150px);
  padding: 32px;
}

.specialist-focus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: 18px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  padding: 24px;
  transform:
    translateY(calc(30px - var(--specialists-progress) * 22px))
    scale(calc(0.92 + var(--specialists-progress) * 0.08));
  transform-origin: center center;
  opacity: calc(var(--specialists-progress) * 1.35);
}

.specialist-focus__copy {
  display: grid;
  align-content: end;
  min-width: 0;
}

.specialist-focus__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.specialist-focus__meta span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.specialist-focus__media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 26px;
}

.focus-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 26px;
}

.focus-ring {
  position: absolute;
  inset: -14px;
  border-radius: 34px;
  border: 1px solid rgba(145, 244, 255, 0.24);
  pointer-events: none;
}

.specialists-orbit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
  grid-auto-rows: 1fr;
}

.specialist-chip {
  position: relative;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 148px;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  transform: translateY(58px) scale(0.94);
  transition: opacity 520ms ease, transform 520ms ease, border-color 220ms ease, background-color 220ms ease;
}

.specialist-chip.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.specialist-chip__media {
  position: relative;
  width: 100%;
  height: 124px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(214, 179, 71, 0.22), rgba(145, 244, 255, 0.1));
}

.specialist-chip__media--placeholder {
  display: grid;
  place-items: center;
}

.specialist-chip__media--placeholder span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.48);
  border: 1px solid rgba(214, 179, 71, 0.42);
  color: var(--champagne-light);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.specialist-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.specialist-chip__body {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
  padding: 0 4px 0 0;
}

.specialist-chip strong,
.specialist-chip span {
  display: block;
  min-width: 0;
}

.specialist-chip span {
  opacity: 0.7;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
}

.specialist-chip strong {
  font-size: 0.96rem;
  line-height: 1.15;
  text-wrap: balance;
}

.specialist-chip:hover {
  border-color: rgba(214, 179, 71, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.specialists-footer {
  margin-top: 28px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.team-gallery__item {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.team-gallery__item img {
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.team-gallery__item:hover img {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.team-gallery img,
.ceo-gallery img,
.branch-card__visual img,
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.branches-grid,
.resource-cards,
.contact-layout,
.contact-branches {
  display: grid;
  gap: 20px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.branches-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branch-card {
  overflow: hidden;
}

.branch-card__visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.14), rgba(145, 244, 255, 0.18));
  text-align: center;
}

.branch-card__visual--map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.branches-gallery,
.before-after-showcase {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.before-after-stage {
  min-height: 240vh;
  margin-top: 28px;
}

.before-after-stage__sticky {
  position: sticky;
  top: 110px;
  min-height: calc(100vh - 140px);
  display: grid;
  align-items: center;
}

.branches-gallery {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.branches-gallery__heading h3,
.before-after-card__meta h3 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
}

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

.gallery-placeholder-card {
  min-height: 220px;
  border-radius: 28px;
  border: 1px dashed rgba(17, 17, 17, 0.16);
  background:
    linear-gradient(135deg, rgba(214, 179, 71, 0.12), rgba(145, 244, 255, 0.12)),
    radial-gradient(circle at top left, rgba(255,255,255,0.5), transparent 46%);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  appearance: none;
}

.gallery-placeholder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.before-after-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  opacity: 0.48;
  transform: translateY(24px) scale(0.98);
  transition: opacity 320ms ease, transform 320ms ease;
}

.before-after-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.before-after-visual {
  --reveal: 50%;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 24px;
}

.before-after-visual__before,
.before-after-visual__after {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-visual__before {
  display: block;
}

.before-after-visual__after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--reveal));
}

.before-after-visual__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 2px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 0 1px rgba(17,17,17,0.18);
}

.before-after-visual__divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(17,17,17,0.82);
  border: 1px solid rgba(214,179,71,0.54);
  transform: translate(-50%, -50%);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.filter-chip {
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.75);
  color: #131313;
  cursor: pointer;
}

.filter-chip.is-active {
  background: #131313;
  color: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.case-card {
  display: grid;
  gap: 12px;
  cursor: pointer;
}

.case-card__media {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.16), rgba(145, 244, 255, 0.18));
}

.case-card__media::after {
  content: attr(data-badge);
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: white;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.case-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.case-card__meta span {
  color: rgba(17, 17, 17, 0.65);
  font-size: 0.8rem;
}

.ceo-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.ceo-sidebar,
.ceo-content {
  padding: 34px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.ceo-gallery {
  margin: 28px 0;
  border-radius: 24px;
  overflow: hidden;
}

.ceo-gallery img {
  width: 100%;
  min-height: 340px;
  object-position: center top;
}

blockquote {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  line-height: 1.2;
}

blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
}

.resource-cards,
.contact-layout,
.contact-branches {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.contact-layout {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.84);
  padding: 14px 16px;
  font: inherit;
  color: #131313;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.site-footer {
  padding: 40px 20px 60px;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  justify-content: flex-start;
}

.site-footer__isotipo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.92;
}

.site-footer__inner a,
.site-footer__inner p {
  display: block;
  opacity: 0.82;
  line-height: 1.8;
}

.site-footer__inner button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.site-footer__logo {
  width: 220px;
  margin-bottom: 14px;
}

.site-footer__bottom {
  width: min(100%, var(--content-width));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
  text-align: center;
}

.site-footer__bottom p,
.site-footer__privacy {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.site-footer__privacy:hover {
  opacity: 1;
}

.modal__panel--privacy {
  width: min(760px, 100%);
}

.privacy-sheet {
  display: grid;
  gap: 18px;
}

.privacy-sheet p {
  margin: 0;
  line-height: 1.85;
  opacity: 0.84;
}

.resource-card {
  min-height: 150px;
  align-content: end;
}

.contact-branches article a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--champagne);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 80;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.8);
}

.modal__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: rgba(17, 17, 17, 0.88);
  color: white;
}

.modal__panel--case {
  width: min(840px, 100%);
}

.modal__panel--gallery {
  width: min(980px, 100%);
}

.case-sheet--gallery img {
  min-height: auto;
  max-height: 72vh;
}

.gallery-sheet {
  display: grid;
  gap: 18px;
}

.gallery-sheet__viewport {
  overflow: hidden;
  border-radius: 26px;
}

.gallery-sheet__viewport img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.gallery-sheet__controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.gallery-sheet__nav {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: white;
  cursor: pointer;
}

.modal__close {
  display: inline-flex;
  margin-left: auto;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
}

.modal__content {
  margin-top: 16px;
}

.doctor-sheet,
.case-sheet {
  display: grid;
  gap: 24px;
}

.doctor-sheet {
  grid-template-columns: minmax(280px, 360px) 1fr;
}

.doctor-sheet img,
.case-sheet img {
  width: 100%;
  border-radius: 28px;
  min-height: 320px;
  object-fit: cover;
}

.doctor-sheet__actions,
.case-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.doctor-sheet__meta,
.case-sheet__meta {
  display: grid;
  gap: 14px;
}

/* ── Case modal gallery ──────────────────────────────────── */
.case-sheet-expanded {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 28px;
  align-items: start;
}

.case-sheet-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-sheet-info h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.case-person-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.case-meta-doctor {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.case-sheet-media {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.case-gallery__viewer {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.case-gallery__viewer img,
.case-gallery__viewer video {
  width: 100%;
  max-height: 56vh;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.case-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.case-gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
  transition: border-color 180ms ease, opacity 180ms ease;
  opacity: 0.55;
}

.case-gallery__item:hover,
.case-gallery__item.is-active {
  border-color: var(--champagne);
  opacity: 1;
}

.case-gallery__item img,
.case-gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-gallery__item--video::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* ── Valores card premium ────────────────────────────────── */
.panel--valores {
  background:
    linear-gradient(135deg, rgba(214, 179, 71, 0.16) 0%, rgba(17, 17, 17, 0.02) 50%, rgba(145, 244, 255, 0.1) 100%),
    rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}

.panel--valores::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 179, 71, 0.28), transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
  animation: lightDriftA 14s ease-in-out infinite;
}

.panel--valores::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 244, 255, 0.22), transparent 70%);
  bottom: -40px;
  left: -40px;
  pointer-events: none;
  animation: lightDriftB 12s ease-in-out infinite;
}

.panel--valores .eyebrow {
  position: relative;
  z-index: 1;
}

.panel--valores .values-cloud {
  gap: 14px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.panel--valores .values-cloud span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  min-height: 46px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(214, 179, 71, 0.3);
  transition: background 220ms ease, border-color 220ms ease, transform 200ms ease, box-shadow 220ms ease;
  position: relative;
}

.panel--valores .values-cloud span:hover {
  background: rgba(214, 179, 71, 0.18);
  border-color: rgba(214, 179, 71, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(214, 179, 71, 0.22);
}

.panel--valores .values-cloud span:nth-child(odd) {
  animation: valueRise 5s ease-in-out infinite;
}

.panel--valores .values-cloud span:nth-child(even) {
  animation: valueRise 5s ease-in-out infinite 2.5s;
}

@keyframes valueRise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ── Feature column buttons (modals) ────────────────────── */
.feature-column-btn {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(17, 17, 17, 0.03);
  border-radius: 24px;
  padding: 20px;
  font: inherit;
  transition: background 200ms ease, border-color 200ms ease, transform 180ms ease, box-shadow 200ms ease;
  position: relative;
}

.feature-column-btn::after {
  content: "→";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.85rem;
  color: var(--champagne);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.feature-column-btn:hover {
  background: rgba(214, 179, 71, 0.08);
  border-color: rgba(214, 179, 71, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(214, 179, 71, 0.14);
}

.feature-column-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.feature-column-btn h4 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.feature-column-btn p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--support);
}

/* ── Before/after drag cursor ────────────────────────────── */
.before-after-visual {
  cursor: ew-resize;
  user-select: none;
}

.before-after-visual.is-dragging {
  cursor: grabbing;
}

/* ── Section 2-col editorial layout ─────────────────────── */
.section-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 0 64px;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  align-items: start;
}

.section-layout .section-heading {
  position: sticky;
  top: 110px;
  width: auto;
  margin-bottom: 0;
  margin-inline: 0;
}

.section-layout .section-heading h2 {
  font-size: clamp(1.4rem, 1.6vw, 2rem);
  max-width: none;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "media copy"
      "side side";
    align-items: start;
    padding-top: 120px;
  }

  .branches-grid,
  .before-after-showcase,
  .branches-gallery__grid,
  .cases-grid,
  .contact-layout,
  .contact-branches,
  .resource-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ceo-layout,
  .doctor-sheet,
  .specialists-composition {
    grid-template-columns: 1fr;
  }

  .specialist-focus {
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: 72px 1fr 1fr;
  }

  .specialist-focus__media {
    min-height: 320px;
  }

  .specialists-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-layout {
    grid-template-columns: minmax(160px, 200px) 1fr;
    gap: 0 40px;
  }
}

@media (max-width: 920px) {
  .site-chrome {
    top: 12px;
    left: 12px;
    right: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .chrome-actions .cta-button {
    display: none;
  }

  .section-dots {
    display: none;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }

  .section {
    width: 100%;
    padding: 96px 24px;
  }

  .gravity-orb {
    opacity: 0.14;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "side";
  }

  .hero-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-media,
  .hero-media__portrait {
    min-height: 420px;
  }

  .branches-grid,
  .before-after-showcase,
  .branches-gallery__grid,
  .resource-cards,
  .contact-layout,
  .contact-branches,
  .feature-columns,
  .team-gallery {
    grid-template-columns: 1fr;
  }

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

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

  .design-grid > .panel,
  .design-grid > .panel:nth-child(1),
  .design-grid > .panel:nth-child(2),
  .design-grid > .panel:nth-child(3),
  .design-grid > .panel:nth-child(4) {
    grid-column: 1 / -1;
  }

  .specialists-stage {
    min-height: auto;
  }

  .before-after-stage {
    min-height: auto;
  }

  .before-after-stage__sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .specialists-stage__sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding-bottom: 24px;
  }

  .specialists-composition {
    min-height: auto;
    padding: 12px;
    grid-template-columns: 1fr;
  }

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

  .specialist-chip {
    width: 100%;
    opacity: 1;
    transform: none;
    min-height: 148px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .specialist-focus {
    opacity: 1;
    transform: none;
    grid-template-columns: 1fr;
  }

  .specialist-focus__media {
    min-height: 380px;
    order: -1;
  }

  .specialist-focus__copy {
    align-content: start;
  }

  .ceo-sidebar,
  .ceo-content {
    padding: 24px;
  }

  .ceo-gallery img {
    min-height: 280px;
  }

  .section-layout {
    grid-template-columns: 1fr;
  }

  .section-layout .section-heading {
    position: relative;
    top: auto;
    margin-bottom: 36px;
    width: min(100%, var(--content-width));
    margin-inline: auto;
  }

  .section-layout .section-heading h2 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    max-width: 13ch;
  }

  .case-sheet-expanded {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    justify-content: center;
  }

  .site-footer__logo {
    margin-inline: auto;
  }

  .site-footer__inner > div:nth-child(2) {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .chrome-actions {
    gap: 8px;
  }

  .cta-button {
    width: 100%;
  }

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

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

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .section-heading h2 {
    max-width: 100%;
  }

  .panel-heading {
    flex-direction: column;
  }

  .specialists-orbit {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    justify-content: center;
  }

  .site-chrome {
    border-radius: 28px;
  }

  .specialist-chip {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 132px;
  }

  .specialist-chip__media {
    height: 96px;
  }

  .brand-mark__wordmark {
    width: 160px;
  }

  .hero-wordmark {
    width: min(100%, 280px);
  }

  .modal {
    padding: 12px;
  }

  .modal__panel {
    border-radius: 24px;
  }

  .doctor-sheet,
  .case-sheet {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .specialist-focus,
  .specialist-chip {
    transform: none;
    opacity: 1;
  }

  .gravity-orb {
    animation: none;
  }
}
