﻿:root {
  --ink: #130d21;
  --ink-soft: #514a66;
  --violet: #7254ff;
  --violet-deep: #24104e;
  --blue: #7bc8ff;
  --cyan: #c9f2ff;
  --white: #ffffff;
  --mist: #f7f8fd;
  --line: rgba(114, 84, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.14);
  --shadow: 0 14px 34px rgba(31, 21, 65, 0.12);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fbfcff;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  padding: 1rem;
  transition: background 360ms ease, padding 240ms ease, border-color 360ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 3, 14, 0.45);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.94) 58%, rgba(210, 233, 255, 0.9));
  border: 1px solid rgba(123, 200, 255, 0.44);
}

.brand:hover .brand-logo {
  opacity: 1;
}

.brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 180ms ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.is-active {
  color: var(--white);
  text-shadow: 0 0 18px rgba(123, 200, 255, 0.46);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-social a {
  --social-color: #7bc8ff;
  color: var(--social-color);
}

.nav-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--social-color) 45%, transparent);
  background: color-mix(in srgb, var(--social-color) 16%, rgba(255, 255, 255, 0.04));
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-social a:nth-child(1) {
  --social-color: #d946ef;
}

.nav-social a:nth-child(2) {
  --social-color: #7bc8ff;
}

.nav-social a:nth-child(3) {
  --social-color: #35d98f;
}

.social-links a {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.4rem 0.2rem 0.5rem;
  position: relative;
  transition:
    color 240ms ease,
    transform 240ms ease;
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(123, 200, 255, 0.75);
  transform: translateX(-50%);
  transition: width 240ms ease;
}

.social-links svg {
  width: 29.5px;
  height: 29.5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  background: transparent;
  transform: translateY(-1px);
}

.social-links a:hover::after {
  width: 100%;
}

@media (max-width: 1180px) {
  .nav-social {
    display: none;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 11rem 1rem 5rem;
  color: var(--white);
  background: #080415;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.95;
  transform: scale(1.05);
  will-change: transform;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 11, 25, 0.9) 0%, rgba(10, 16, 35, 0.6) 45%, rgba(10, 16, 35, 0.1) 100%),
    linear-gradient(180deg, rgba(6, 11, 25, 0.1), rgba(6, 11, 25, 0.9));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  max-width: none;
  justify-self: stretch;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.6rem;
  max-width: 900px;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 1.05rem;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--white);
  color: #000;
}
.btn-primary:hover {
  background: #f0f0f0;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.section {
  padding: 7rem 1rem;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 4rem;
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1rem;
}

.about .section-copy p:not(.eyebrow) {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.72;
}

.about .section-copy h2 {
  color: #0a0a0a;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.12;
}

.about .eyebrow {
  color: #888;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.about {
  background: #f8f8f7;
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats-grid article {
  padding: 2rem 1.5rem;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 220ms ease;
}

.stats-grid article:hover {
  background: #f4f3f1;
}

.stats-grid strong {
  display: block;
  color: #0a0a0a;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stats-grid span {
  color: #888;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.services {
  color: var(--white);
  background: linear-gradient(135deg, #090512 0%, #140b26 56%, #080711 100%);
}

.services .section-heading p:not(.eyebrow) {
  color: rgba(222, 233, 255, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  min-height: 360px;
  padding: 2.45rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 101, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(24, 16, 42, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease;
}

.service-card:hover {
  border-color: rgba(123, 200, 255, 0.42);
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(114, 84, 255, 0.2);
}

.service-card h3,
.service-card p,
.service-card .icon {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: rgba(211, 225, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.62;
  margin-bottom: 1.8rem;
}

.service-card h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 1.15rem;
}

.service-more {
  position: relative;
  z-index: 1;
  margin-top: 0.4rem;
  min-height: 40px;
  border: 1px solid rgba(123, 200, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(123, 200, 255, 0.08);
  color: var(--white);
  padding: 0.6rem 0.85rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 140ms ease;
}

.service-more:hover {
  border-color: rgba(123, 200, 255, 0.62);
  background: rgba(123, 200, 255, 0.14);
}

.service-more:active {
  transform: scale(0.97);
}

/* — Service Card Glow Tracking — */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(123, 200, 255, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover .icon {
  animation: iconPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-color: rgba(123, 200, 255, 0.38);
}

.icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 44%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.22) 56%,
    transparent 62%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.service-card:hover .icon::after {
  animation: iconShine 0.7s ease 0.12s forwards;
}

.icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 1.85rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(143, 101, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  color: var(--blue);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms ease;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.choose {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.standard-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.2rem;
}

.standard-heading h2 {
  margin: 0;
  color: #061b3f;
  font-size: 4rem;
  line-height: 1;
}

.standard-heading p {
  margin: 0.4rem 0 0;
  color: #253757;
  font-size: 1.08rem;
  line-height: 1.7;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.standard-card {
  padding: 2.5rem;
}

.standard-card {
  min-height: 252px;
  border: 1px solid rgba(6, 27, 63, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(31, 21, 65, 0.05);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease, border-color 220ms ease;
}

.standard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31, 21, 65, 0.1);
  border-color: rgba(114, 84, 255, 0.22);
}

.standard-card:first-child {
  border-color: rgba(114, 84, 255, 0.28);
}

.standard-card span {
  display: block;
  margin-bottom: 1.55rem;
  color: #7b8bab;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.standard-card h3 {
  color: #061b3f;
  font-size: 1.36rem;
  margin-bottom: 1.2rem;
}

.standard-card p {
  color: #243650;
  line-height: 1.62;
}

.team {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #f8f8f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.team::before,
.team::after {
  display: none;
}

.team .section-inner {
  position: relative;
  z-index: 1;
}

.team .standard-heading h2 {
  color: #0a0a0a;
  text-shadow: none;
}

.team .standard-heading p {
  color: #555;
}

.team-showcase {
  --team-carousel-height: clamp(620px, 56vw, 760px);
  --team-profile-slide-height: 560px;
  position: relative;
  touch-action: pan-y;
  min-height: var(--team-carousel-height);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #0d0a1e, #081428);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.team-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 7, 34, 0.38) 0%, rgba(19, 10, 48, 0.24) 26%, rgba(18, 19, 46, 0.08) 48%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%, rgba(8, 5, 20, 0.12) 100%);
  pointer-events: none;
  z-index: 2;
}

.team-slides {
  position: relative;
  min-height: var(--team-carousel-height);
  z-index: 1;
}

.team-slide {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.team-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.team-slide:not(.team-cover-slide) {
  top: 50%;
  bottom: auto;
  height: var(--team-profile-slide-height);
  transform: translateY(-50%);
}

.team-slide:not(.team-cover-slide)::before {
  content: "";
  position: absolute;
  top: calc((var(--team-profile-slide-height) - var(--team-carousel-height)) / 2);
  right: 0;
  bottom: calc((var(--team-profile-slide-height) - var(--team-carousel-height)) / 2);
  left: 0;
  z-index: 0;
  background-image: var(--team-slide-fill);
  background-position: center center;
  background-size: cover;
  filter: blur(16px) saturate(1.04) brightness(0.82);
  opacity: 0.72;
  transform: scale(1.035);
}

.team-slide:nth-child(2) {
  --team-slide-fill: url("assets/images/team/team-veronica.png");
}

.team-slide:nth-child(3) {
  --team-slide-fill: url("assets/images/team/team-rodrigo.png");
}

.team-slide:nth-child(4) {
  --team-slide-fill: url("assets/images/team/team-mauricio.png");
}

.team-slide:nth-child(5) {
  --team-slide-fill: url("assets/images/team/team-estefania.png");
}

.team-slide:first-child {
  display: block;
  padding: 0;
}

.team-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  background: #0e1630;
  border: 0;
  box-shadow: none;
}

.team-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.team-group-photo img {
  object-position: center center;
}

.team-visual-contain {
  display: block;
  background: #0e1630;
}

.team-visual-contain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.team-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 7, 34, 0.28) 0%, rgba(22, 13, 54, 0.16) 24%, rgba(22, 18, 50, 0.06) 42%, transparent 62%),
    linear-gradient(180deg, rgba(8, 9, 25, 0.04), transparent 48%, rgba(7, 10, 28, 0.14));
  pointer-events: none;
}

.team-slide:not(.team-cover-slide) .team-visual::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 24, 0.82) 0%, rgba(8, 13, 32, 0.64) 24%, rgba(11, 20, 45, 0.32) 46%, rgba(11, 20, 45, 0.08) 64%, transparent 78%),
    linear-gradient(180deg, rgba(8, 10, 28, 0.06), transparent 52%, rgba(7, 9, 24, 0.16));
}

.team-group-photo::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 28, 0.56) 0%, rgba(10, 14, 38, 0.36) 22%, rgba(36, 20, 64, 0.14) 42%, rgba(12, 18, 38, 0.04) 58%, transparent 72%),
    linear-gradient(180deg, rgba(14, 18, 38, 0.04), transparent 56%, rgba(8, 8, 28, 0.1) 100%);
}

.team-cover-slide .team-hero-content {
  position: absolute;
  left: clamp(1.15rem, 3.2vw, 3.2rem);
  top: clamp(1.35rem, 3.4vw, 3.2rem);
  z-index: 3;
  width: min(500px, calc(100% - 2.4rem));
  padding: 0;
  color: var(--white);
}

.team-cover-slide .team-hero-content h2 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: clamp(2.58rem, 4.2vw, 4.05rem);
  line-height: 1.02;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

.team-cover-slide .team-hero-content h2 span {
  display: block;
}

.team-title-accent {
  width: max-content;
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

.team-cover-slide .team-hero-content h2::after {
  content: "";
  display: block;
  width: 4.8rem;
  height: 2px;
  margin-top: 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.team-cover-slide .team-hero-content p {
  max-width: 450px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

.team-cover-list {
  position: relative;
  display: grid;
  gap: 0.58rem;
  margin: 2rem 0 0;
  max-width: min(430px, 100%);
  padding: 0 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.28;
  list-style: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

.team-cover-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  bottom: 0.18rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b65cff, #7bc8ff);
  opacity: 0.78;
}

.team-cover-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 1.72rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.team-cover-list li::before {
  display: none;
}

.team-cover-icon {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  color: #7bc8ff;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(123, 200, 255, 0.22));
}

.team-cover-list span {
  min-width: 0;
}

.team-profile {
  position: absolute;
  left: clamp(2.2rem, 6vw, 4.4rem);
  top: 50%;
  z-index: 3;
  width: min(520px, 48%);
  max-width: 560px;
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.team-count {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px rgba(8, 8, 28, 0.28);
}

.doctor-role {
  margin-bottom: 0.35rem;
  color: rgba(154, 218, 255, 0.98);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(7, 18, 38, 0.26);
}

.team-profile h3 {
  color: var(--white);
  font-size: 2.65rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42), 0 0 28px rgba(0, 0, 0, 0.24);
}

.team-profile p:not(.doctor-role) {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.06rem;
  line-height: 1.62;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44), 0 0 22px rgba(0, 0, 0, 0.22);
}

.team-profile ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
  margin: 1.45rem 0 0;
  max-width: min(390px, 100%);
  padding: 0;
  list-style: none;
}

.team-profile li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.76rem;
  min-height: 3.15rem;
  padding: 0.68rem 1rem;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.22;
  border: 1px solid rgba(218, 238, 255, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(10, 16, 39, 0.54), rgba(22, 21, 55, 0.36)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 24px rgba(5, 8, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.team-profile li::before {
  display: none;
}

.team-profile li::after {
  display: none;
}

.team-specialty-icon {
  flex: 0 0 1.45rem;
  width: 1.45rem;
  height: 1.45rem;
  color: #7bc8ff;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 8px rgba(123, 200, 255, 0.28));
}

.team-specialty-icon path,
.team-specialty-icon circle {
  vector-effect: non-scaling-stroke;
}

.team-profile li span {
  min-width: 0;
}

.team-profile li:hover {
  color: var(--white);
  border-color: rgba(123, 200, 255, 0.54);
  background:
    linear-gradient(135deg, rgba(14, 22, 52, 0.62), rgba(37, 29, 79, 0.42)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(5, 8, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.team-profile li:hover::before {
  display: none;
}

.team-profile li:hover::after {
  display: none;
}

.team-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(10, 10, 20, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 200ms ease, border-color 200ms ease;
}

.team-arrow:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(20, 20, 35, 0.7);
}

.team-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform-origin: center;
}

.team-prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.team-next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.team-arrow[hidden] {
  display: none;
}

.team-prev {
  left: 1.25rem;
}

.team-next {
  right: 1.25rem;
}

.team-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

.team-dots button {
  width: 32px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  opacity: 0.5;
  transition:
    background 400ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 400ms ease,
    box-shadow 400ms ease;
}

.team-dots button:hover {
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
}

.team-dots button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.team-dots button.is-active {
  background: rgba(255, 255, 255, 0.88);
  transform: scaleY(1.6);
  opacity: 1;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35), 0 0 2px rgba(255, 255, 255, 0.6);
}

.gallery {
  color: var(--white);
  background: linear-gradient(135deg, #090512 0%, #15102c 58%, #0a0715 100%);
}

.workflow-summary {
  max-width: 900px;
  position: relative;
}

.workflow-summary p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(222, 233, 255, 0.74);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.workflow-summary h2 {
  color: var(--white);
}

.workflow-trigger-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-trigger-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 52px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(114, 84, 255, 0.45), rgba(123, 200, 255, 0.55), rgba(114, 84, 255, 0.45));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.workflow-trigger-grid::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 49px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, rgba(123, 200, 255, 0.12), rgba(114, 84, 255, 0.1), transparent);
  filter: blur(3px);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  pointer-events: none;
}

.workflow-trigger-grid.line-animated::before,
.workflow-trigger-grid.line-animated::after {
  transform: scaleX(1);
}

.workflow-trigger {
  position: relative;
  min-height: 190px;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 1rem;
  border: 1px solid rgba(143, 101, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(24, 16, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.12);
  transition:
    border-color 280ms ease,
    transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 320ms ease,
    background 280ms ease;
}

.workflow-trigger:hover {
  border-color: rgba(123, 200, 255, 0.4);
  background: rgba(30, 20, 52, 0.72);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 32px rgba(114, 84, 255, 0.18),
    0 0 0 1px rgba(123, 200, 255, 0.08);
}

.workflow-trigger span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(123, 200, 255, 0.18);
  background: linear-gradient(135deg, rgba(114, 84, 255, 0.22), rgba(123, 200, 255, 0.18));
  color: var(--white);
  font-weight: 900;
  font-size: 0.88rem;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

.workflow-trigger:hover span {
  border-color: rgba(123, 200, 255, 0.36);
  box-shadow: 0 0 12px rgba(123, 200, 255, 0.15);
}

.workflow-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(114, 84, 255, 0.08);
  border: 1px solid rgba(143, 101, 255, 0.22);
  color: var(--blue);
  transition: border-color 280ms ease, color 280ms ease;
}

.workflow-icon svg {
  width: 22px;
  height: 22px;
}

.workflow-trigger:hover .workflow-icon {
  border-color: rgba(123, 200, 255, 0.36);
  color: rgba(123, 200, 255, 0.9);
}

.workflow-trigger strong {
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--white);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 20, 0.72);
  animation: backdropIn 240ms ease both;
}

.modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(84vh, 850px);
  overflow: auto;
  padding: 2rem;
  border: 1px solid rgba(123, 200, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.96));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  animation: modalIn 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.small-modal {
  width: min(620px, 100%);
}

.modal-copy {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.modal-copy h2 {
  color: var(--violet-deep);
}

.modal-copy p:not(.eyebrow) {
  color: var(--ink-soft);
}

.modal-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.modal-list li {
  position: relative;
  padding-left: 1.2rem;
  color: #243650;
  line-height: 1.55;
}

.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(114, 84, 255, 0.18);
  border-radius: 50%;
  background: var(--white);
  color: var(--violet-deep);
  font-size: 1.4rem;
  cursor: pointer;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.workflow-step,
.workflow-image {
  border-radius: var(--radius);
  border: 1px solid rgba(114, 84, 255, 0.16);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(41, 29, 80, 0.08);
}

.workflow-step {
  min-height: 230px;
  padding: 1.5rem;
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(114, 84, 255, 0.14), rgba(123, 200, 255, 0.2));
  color: var(--violet-deep);
  font-weight: 900;
}

.workflow-step h3 {
  color: var(--violet-deep);
  font-size: 1.2rem;
}

.workflow-step p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.workflow-image {
  grid-column: span 1;
  min-height: 230px;
  overflow: hidden;
}

.workflow-image img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.testimonials {
  padding: 4.5rem 1rem;
  background: linear-gradient(180deg, #fbfaff 0%, #f4f0ff 100%);
}

.testimonial-compact {
  max-width: 820px;
}

.testimonial-compact h2 {
  color: #061b3f;
  font-size: 2.4rem;
}

.testimonial-compact p {
  color: #394764;
  font-size: 1.02rem;
  max-width: 700px;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--violet-deep);
  font-weight: 900;
  border-bottom: 1px solid rgba(114, 84, 255, 0.32);
}

.contact {
  color: var(--white);
  background: linear-gradient(135deg, #0b061d 0%, #21104a 58%, #0e0724 100%);
}

.contact .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.82);
}

.contact-methods a {
  transition: color 180ms ease;
}

.contact-methods a:hover {
  color: var(--blue);
}

.contact-whatsapp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.85rem;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(123, 200, 255, 0.52);
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 200, 255, 0.12);
}

.contact-form .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.maps-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.map-frame {
  overflow: hidden;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  position: relative;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}

.map-overlay {
  position: absolute;
  top: auto;
  bottom: 1.15rem;
  left: 1rem;
  z-index: 2;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(18, 10, 45, 0.82);
  border: 1px solid rgba(123, 200, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
}

.map-overlay span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.map-overlay strong {
  display: block;
  font-size: 1.05rem;
}

.map-link {
  display: inline-flex;
  margin-top: 0.45rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.map-link:hover {
  color: var(--white);
}

.footer {
  padding: 2rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  background: #0e0724;
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links,
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a,
.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 180ms ease;
}

.footer-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 200, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--white);
}

.footer-links a:hover {
  border-color: rgba(123, 200, 255, 0.42);
  background: rgba(123, 200, 255, 0.1);
  box-shadow: 0 0 18px rgba(123, 200, 255, 0.14);
}



.copyright {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes kenBurns {
  0% { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.05) translate(-1%, 0%); }
}

@keyframes heroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -35px) scale(1.08); }
  50% { transform: translate(-20px, 18px) scale(0.94); }
  75% { transform: translate(15px, 28px) scale(1.04); }
}

@keyframes cellFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(12px, -18px) scale(1.1); opacity: 0.8; }
  50% { transform: translate(-8px, 10px) scale(0.9); opacity: 0.5; }
  75% { transform: translate(6px, 15px) scale(1.05); opacity: 0.7; }
}

@keyframes shimmerLine {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

@keyframes iconShine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes iconPop {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.18) rotate(-4deg); }
  60% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-social {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 84px 1rem auto;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(18, 10, 45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-links {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choose-grid,
  .workflow-grid,
  .workflow-trigger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-showcase {
    --team-carousel-height: 660px;
    --team-profile-slide-height: 660px;
  }

  .team-cover-slide .team-hero-content {
    width: min(470px, calc(100% - 2.4rem));
  }

  .team-slides {
    min-height: 660px;
  }

  .team-slide {
    display: block;
    padding: 0;
  }

  .team-slide:first-child {
    padding: 0;
  }

  .team-visual {
    position: absolute;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
  }

  .team-profile {
    left: clamp(2rem, 6vw, 3.4rem);
    width: min(500px, 58%);
    margin-left: 0;
  }

  .workflow-trigger-grid::before,
  .workflow-trigger-grid::after {
    display: none;
  }

  .hero {
    align-items: end;
  }

}

@media (max-width: 640px) {
  :root {
    --shadow: 0 16px 42px rgba(31, 21, 65, 0.14);
  }

  .site-header {
    padding: 0.65rem 0;
  }

  .nav-shell,
  .section-inner,
  .hero-content,
  .footer-inner,
  .copyright {
    width: min(100% - 1.25rem, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 7.8rem 0.65rem 3rem;
  }

  .hero-image {
    animation: none;
    will-change: auto;
  }

  .hero-particles::before,
  .hero-particles::after,
  .hero-cell:nth-child(n + 4) {
    display: none;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 4.5rem 0.65rem;
  }

  .team-showcase {
    --team-carousel-height: 680px;
    --team-profile-slide-height: 680px;
    min-height: 680px;
  }

  .team-group-photo img {
    object-position: 58% center;
  }

  .team-group-photo::after {
    background:
      linear-gradient(90deg, rgba(5, 8, 28, 0.54) 0%, rgba(10, 14, 38, 0.34) 34%, rgba(36, 20, 64, 0.12) 56%, transparent 76%),
      linear-gradient(180deg, transparent 42%, rgba(8, 8, 28, 0.2) 100%);
  }

  .team-cover-slide .team-hero-content {
    left: 1rem;
    right: 1rem;
    top: 1.15rem;
    width: auto;
    padding: 0;
  }

  .team-cover-slide .team-hero-content h2 {
    font-size: 2.52rem;
  }

  .team-cover-slide .team-hero-content p {
    max-width: 400px;
    font-size: 1.1rem;
  }

  .team-cover-list {
    gap: 0.46rem;
    margin-top: 1.45rem;
    max-width: 350px;
    padding-left: 1rem;
    font-size: 0.84rem;
  }

  .team-cover-list li {
    min-height: 1.5rem;
    padding: 0;
  }

  .team-cover-icon {
    flex-basis: 0.92rem;
    width: 0.92rem;
    height: 0.92rem;
  }

  .stats-grid,
  .service-grid,
  .choose-grid,
  .workflow-grid,
  .workflow-trigger-grid {
    grid-template-columns: 1fr;
  }

  .team-slides {
    min-height: 680px;
  }

  .team-slide {
    padding: 0;
  }

  .team-slide:first-child {
    padding: 0;
  }

  .team-dots {
    padding: 0.38rem 0.58rem;
  }

  .team-visual {
    max-width: 100%;
  }

  .team-profile {
    left: 1.1rem;
    right: 1.1rem;
    top: auto;
    bottom: 4.4rem;
    width: auto;
    max-width: none;
    transform: none;
  }

  .team-arrow {
    top: auto;
    bottom: 0.85rem;
    transform: none;
  }

  .team-profile h3 {
    font-size: 2rem;
  }

  .team-profile ul {
    grid-template-columns: 1fr;
  }

  .workflow-trigger {
    min-height: 150px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .map-frame iframe {
    filter: none;
  }

  .map-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

#team .team-cover-slide .team-hero-content {
  width: min(500px, calc(100% - 2.4rem));
  opacity: 1;
}

#team .team-showcase::before {
  z-index: 0;
}

#team .team-cover-slide .team-hero-content h2 {
  color: #ffffff;
  font-size: clamp(2.58rem, 4.2vw, 4.05rem);
  opacity: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

#team .team-cover-slide .team-hero-content p {
  max-width: 450px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

#team .team-cover-slide .team-cover-list {
  gap: 0.58rem;
  margin-top: 2rem;
  max-width: min(430px, 100%);
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.28;
  opacity: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.25);
}

#team .team-cover-slide .team-cover-list li {
  color: inherit;
  min-height: 1.72rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

@media (max-width: 640px) {
  #team .team-cover-slide .team-cover-list {
    gap: 0.46rem;
    margin-top: 1.45rem;
    max-width: 350px;
    padding-left: 1rem;
    font-size: 0.84rem;
  }

  #team .team-cover-slide .team-cover-list li {
    min-height: 1.5rem;
    padding: 0;
  }

  #team .team-cover-slide .team-cover-icon {
    flex-basis: 0.92rem;
    width: 0.92rem;
    height: 0.92rem;
  }
}

html.is-firefox {
  scroll-behavior: auto;
}

html.is-firefox .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

html.is-firefox .site-header,
html.is-firefox .service-card,
html.is-firefox .standard-card,
html.is-firefox .team-showcase,
html.is-firefox .team-visual,
html.is-firefox .workflow-trigger,
html.is-firefox .contact-form,
html.is-firefox .map-frame,
html.is-firefox .modal-panel {
  box-shadow: none;
}

html.is-firefox .service-card,
html.is-firefox .standard-card,
html.is-firefox .workflow-trigger,
html.is-firefox .btn,
html.is-firefox .service-more {
  transition: border-color 120ms ease, background 120ms ease;
}

html.is-firefox .service-card:hover,
html.is-firefox .standard-card:hover,
html.is-firefox .workflow-trigger:hover,
html.is-firefox .btn:hover {
  transform: none;
}

html.is-firefox .map-overlay {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(18, 10, 45, 0.92);
}

html.is-firefox .map-frame iframe {
  filter: none;
}

html.is-firefox .modal-backdrop,
html.is-firefox .modal-panel {
  animation: none;
}

@-moz-document url-prefix() {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card,
  .standard-card,
  .workflow-trigger,
  .team-showcase,
  .contact-form,
  .map-frame {
    box-shadow: none;
  }

  .map-overlay {
    backdrop-filter: none;
    background: rgba(18, 10, 45, 0.92);
  }

  .map-frame iframe {
    filter: none;
  }
}

/* Tech Brands Section (Proscia-inspired) */
.tech-brands {
  padding: 6rem 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(114, 84, 255, 0.08);
}

.tech-brands-copy {
  max-width: 600px;
  margin: 0 auto 4rem auto;
  text-align: center;
  padding: 0 1.5rem;
}

.tech-brands-copy h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--violet-deep);
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tech-brands-copy p {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.brands-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 43.3s linear infinite;
}

.brands-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.brand-item {
  flex: 0 0 180px;
  height: 90px;
  margin-right: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: default;
}

.brand-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .tech-brands { padding: 4rem 0; }
  .tech-brands-copy { margin-bottom: 3rem; }
  .brands-marquee {
    mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
  }
  .brand-item { margin-right: 3rem; }
}

/* Responsive corrections: desktop geometry above 980px is preserved. */
@media (max-width: 980px) {
  html { scroll-padding-top: 100px; }
  .site-header.is-scrolled,
  body.nav-open .site-header { background: rgba(6, 3, 14, 0.96); }
  .nav-toggle { flex: 0 0 44px; }
  .brand-logo { flex-shrink: 0; }
  .nav-links {
    visibility: hidden;
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.is-open { visibility: visible; }
  .nav-links a { min-height: 48px; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .standard-heading { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .standard-heading h2 { font-size: clamp(2rem, 5vw, 3rem); }
  .split { gap: 2.5rem; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid > *, .contact-form label { min-width: 0; }
  .maps-grid { grid-template-columns: minmax(0, 1fr); }
  .map-frame { height: 220px; }
  .contact-methods { overflow-wrap: anywhere; }
  .contact-methods a { min-height: 44px; display: flex; align-items: center; }
  .contact-form input, .contact-form select, .contact-form textarea {
    min-width: 0; max-width: 100%; font-size: 1rem; min-height: 48px;
  }
  .contact-form :is(input, select, textarea):focus-visible {
    outline: 2px solid var(--blue); outline-offset: 2px;
  }
  .service-more { min-height: 48px; }
  .service-card, .standard-card { padding: 1.5rem; overflow-wrap: anywhere; }
  .about .eyebrow, .stats-grid span { color: #666; }
  .standard-card > span { color: #596b8b; }
  .map-overlay { right: 1rem; width: fit-content; max-width: calc(100% - 2rem); }
  .map-link { min-height: 44px; align-items: center; }
  .footer .brand small { display: block; }
  .footer .brand-text { min-width: 0; }
  .social-links a { min-width: 54.1px; min-height: 54.1px; }
  .copyright { color: rgba(255, 255, 255, 0.72); }

  /* Natural image ratios keep both group and individual photos uncropped. */
  .team-showcase, .team-slides { min-height: 0; }
  .team-showcase { padding-bottom: 120px; }
  .team-slide, .team-slide:first-child, .team-slide:not(.team-cover-slide) {
    position: relative; inset: auto; height: auto; transform: none; display: none;
  }
  .team-slide.is-active { display: block; }
  .team-slide:not(.team-cover-slide)::before,
  .team-visual::after { display: none; }
  .team-visual { position: relative; inset: auto; width: 100%; height: auto; }
  .team-visual img { width: 100%; height: auto; object-fit: contain; }
  #team .team-cover-slide .team-hero-content, .team-profile {
    position: relative; inset: auto; width: 100%; max-width: none;
    padding: 1.5rem; transform: none;
  }
  #team .team-cover-slide .team-hero-content h2,
  .team-profile h3 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  #team .team-cover-slide .team-hero-content p,
  .team-profile p:not(.doctor-role) { font-size: 1rem; }
  #team .team-cover-slide .team-cover-list { max-width: none; font-size: 0.95rem; }
  .team-profile ul { max-width: none; }
  .team-arrow { top: auto; bottom: 68px; transform: none; }
  .team-prev { left: calc(50% - 54px); }
  .team-next { right: calc(50% - 54px); }
  .is-cover-slide .team-next { right: calc(50% - 22px); }
  .team-dots { bottom: 12px; padding: 0; gap: 0; }
  .team-dots button,
  .team-dots button.is-active,
  .team-dots button:hover {
    position: relative; width: 44px; height: 44px;
    background: transparent; opacity: 1; box-shadow: none; transform: none;
  }
  .team-dots button::after {
    content: ''; position: absolute; inset: 20px 8px;
    background: rgba(255, 255, 255, 0.4); border-radius: 2px;
  }
  .team-dots button.is-active::after { background: white; }
  .team-dots button:focus-visible { outline-offset: -3px; }

  .modal { padding: 0.75rem; }
  .modal-panel {
    min-width: 0; padding: 1rem;
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    overscroll-behavior: contain; overflow-wrap: anywhere;
  }
  .modal-close {
    position: sticky; top: 0; z-index: 2;
    display: block; margin: 0 0 0.75rem auto;
    width: 48px; height: 48px;
  }
  .modal-copy h2 { font-size: clamp(1.65rem, 5vw, 2.35rem); }
  .modal-copy .eyebrow { color: #57409b; }
}

@media (max-width: 640px) {
  .site-header.is-scrolled { padding: 0.65rem 0; }
  .nav-shell { width: calc(100% - 2rem); }
  .brand { gap: 0.6rem; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1rem; }
  .hero { min-height: 92svh; }
  h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); line-height: 1.08; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .about .section-copy h2 { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .service-card, .standard-card { min-height: 0; }
  .service-card h3 { font-size: 1.3rem; }
  .workflow-trigger { min-height: 0; grid-template-columns: 40px 44px minmax(0, 1fr); align-items: center; gap: 0.75rem; padding: 1rem; }
  .workflow-trigger strong { font-size: 1rem; overflow-wrap: anywhere; }
  .tech-brands-copy { padding: 0 0.75rem; }
  .tech-brands-copy h2 { font-size: 1.8rem; }
}

/* Keep the complete list static only when the user requests reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .brands-marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { width: 100%; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2rem; padding: 0 1.5rem; animation: none; }
  .brand-item { flex: 1 1 120px; max-width: 160px; height: 64px; margin: 0; opacity: 0.82; }
  .brand-item[aria-hidden="true"] { display: none; }
}

@keyframes heroBreath {
  0%,
  100% {
    transform: translate3d(0, var(--hero-parallax-y, 0), 0) scale(1.045);
  }
  50% {
    transform: translate3d(-0.35%, var(--hero-parallax-y, 0), 0) scale(1.085);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: heroBreath 18s ease-in-out infinite;
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none !important;
    transform: scale(1.05) !important;
    will-change: auto;
  }
}
