/* ==========================================================================
   SECCIÓN "SOBRE NOSOTROS" + GALERÍA 1 (AUTO-SLIDER) + PÁGINA "NUESTRO EQUIPO"
   Arquitectura: Mobile-First (base 320px+ -> min-width: 640px / 720px / 1024px)
   Paleta: Crema #F8F1E4 / Esmeralda #0B2E22 / Oro #C9A45C
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SECCIÓN SOBRE NOSOTROS (Mobile-first)
   -------------------------------------------------------------------------- */
.sobre-v2 {
  background-color: var(--p7-surface, #141313);
  color: var(--p7-white, #FFFFFF);
  padding-block: clamp(48px, 6.5vw, 96px);
  overflow-x: clip;
}

.sobre-v2-shell {
  max-width: 1120px;
  margin-inline: auto;
}

.sobre-v2-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 44px);
  gap: clamp(16px, 2.5vw, 20px);
}

.sobre-v2-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--p7-white, #FFFFFF);
}

.sobre-v2-lead {
  margin: 0;
  max-width: 56ch;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
  color: var(--p7-bone, #E8E5DF);
}

.sobre-v2-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3.5vw, 40px);
}

/* --------------------------------------------------------------------------
   2. BOTÓN LIQUID GLASS (Estilo Apple, variantes clara y oscura)
   -------------------------------------------------------------------------- */
.liquid-glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 9999px;
  background-color: transparent;
  color: var(--p7-white, #FFFFFF);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  touch-action: manipulation;
  transition:
    transform 300ms var(--ease-editorial),
    color 250ms var(--ease-editorial);
}

.liquid-glass-btn:hover {
  transform: scale(1.05);
  color: var(--p7-champagne, #C3B9A0);
}

.liquid-glass-btn:active {
  transform: scale(0.98);
}

.liquid-glass-btn:focus-visible {
  outline: 2px solid var(--p7-brick-red, #C1091E);
  outline-offset: 4px;
}

.liquid-glass-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--p7-brick-red-border, rgba(193, 9, 30, 0.65));
  box-shadow:
    0 0 14px var(--p7-brick-red-glow, rgba(193, 9, 30, 0.3)),
    0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(193, 9, 30, 0.38),
    inset 3px 3px 0.5px -3px rgba(255, 255, 255, 0.75),
    inset -3px -3px 0.5px -3px rgba(255, 255, 255, 0.55),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.45),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.45);
  transition:
    background-color 300ms var(--ease-editorial),
    border-color 300ms var(--ease-editorial),
    box-shadow 300ms var(--ease-editorial);
}

.liquid-glass-btn:hover .liquid-glass-surface {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--p7-brick-red, #C1091E);
  box-shadow:
    0 0 22px var(--p7-brick-red-glow, rgba(193, 9, 30, 0.5)),
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1.5px rgba(193, 9, 30, 0.75),
    inset 3px 3px 0.5px -3px rgba(255, 255, 255, 0.9),
    inset -3px -3px 0.5px -3px rgba(255, 255, 255, 0.7);
}

.liquid-glass-btn--dark {
  color: var(--p7-white, #FFFFFF);
}

.liquid-glass-btn--dark:hover {
  color: var(--p7-champagne, #C3B9A0);
}

.liquid-glass-btn--dark:focus-visible {
  outline-color: var(--p7-brick-red, #C1091E);
}

.liquid-glass-btn--dark .liquid-glass-surface {
  background: transparent;
  border: 1px solid var(--p7-brick-red-border, rgba(193, 9, 30, 0.65));
  box-shadow:
    0 0 14px var(--p7-brick-red-glow, rgba(193, 9, 30, 0.3)),
    0 2px 6px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(193, 9, 30, 0.4),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.25),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.75),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.45),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.45);
}

.liquid-glass-btn--dark:hover .liquid-glass-surface {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--p7-brick-red, #C1091E);
  box-shadow:
    0 0 22px var(--p7-brick-red-glow, rgba(193, 9, 30, 0.55)),
    0 4px 14px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1.5px rgba(193, 9, 30, 0.8),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.35),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.9);
}

/* Tamaño compacto para cabecera móvil -> crece en >= 480px */
.liquid-glass-btn--sm {
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.8125rem;
}

.liquid-glass-blur {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 9999px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: url("#container-glass") blur(6px);
}

.liquid-glass-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.liquid-glass-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.sobre-v2-cta-arrow {
  transition: transform 220ms var(--ease-editorial);
}

.liquid-glass-btn:hover .sobre-v2-cta-arrow {
  transform: translate(3px, -2px);
}

/* --------------------------------------------------------------------------
   3. GALERÍA 1 — CARRUSEL INFINITO FULL-BLEED + AUTOPLAY + DRAG (Móvil y PC)
   -------------------------------------------------------------------------- */
.sobre-v2 {
  overflow-x: clip;
}

.galeria-marquee {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  padding-block: 14px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.galeria-marquee.is-dragging {
  cursor: grabbing;
}

.galeria-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.galeria-marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}

.galeria-card {
  flex-shrink: 0;
  width: clamp(248px, 68vw, 296px);
  height: clamp(300px, 82vw, 360px);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background-color: #0A0909;
  isolation: isolate;
  clip-path: inset(0 round 14px);
  transform: translateZ(0);
  transition:
    transform 320ms var(--ease-editorial),
    filter 320ms var(--ease-editorial);
}

.galeria-card:hover {
  transform: scale(1.025);
  filter: brightness(1.04);
}

.galeria-card picture,
.galeria-card-img,
.galeria-card-video {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.galeria-card[data-lightbox-src] {
  cursor: pointer;
}

.galeria-card-img,
.galeria-card-video {
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
}

.galeria-card-video {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   4. PÁGINA "NUESTRO EQUIPO" (Mobile-first: base 1 columna -> >= 720px 2 cols)
   -------------------------------------------------------------------------- */
.equipo-page {
  min-height: 100svh;
  background-color: var(--p7-carbon, #0A0909);
  color: var(--p7-white, #FFFFFF);
  overflow-x: clip;
}

.equipo-topbar {
  background-color: var(--p7-ebony, #0B0702);
  color: var(--p7-snow, #FDFDFC);
  padding-block: 14px;
}

.equipo-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.equipo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cream-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.equipo-brand-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.equipo-brand-full {
  display: none;
}

.equipo-main {
  padding-block: clamp(32px, 4.5vw, 56px) clamp(56px, 8vw, 104px);
}

.equipo-shell {
  max-width: 960px;
  margin-inline: auto;
}

.equipo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 64px);
  gap: 14px;
}

.equipo-kicker {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p7-colombia-yellow, #FCD116);
}

.equipo-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.45rem, 4.8vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--p7-snow, #FDFDFC);
}

.equipo-intro {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.65;
  text-wrap: pretty;
  color: var(--p7-bone, #E8E5DF);
}

/* ==========================================================================
   TeamMemberCard Carrusel (@emerald-ui / 21st.dev adaptado · P7 Barber)
   ========================================================================== */
.tmc-carousel {
  position: relative;
  width: 100%;
}

.tmc-viewport {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* Flechas laterales solo móvil (< 640px): sin círculo, color rojo, a los lados de la foto */
.tmc-side-nav {
  position: absolute;
  top: 158px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p7-red, #C1091E);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, opacity 200ms ease;
}

.tmc-side-nav--prev {
  left: -8px;
}

.tmc-side-nav--next {
  right: -8px;
}

.tmc-side-nav:active {
  transform: scale(0.88);
}

.tmc-side-nav:focus-visible {
  outline: 2px solid var(--p7-red, #C1091E);
  outline-offset: 2px;
}

.tmc-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms linear 520ms;
}

.tmc-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms linear 0ms;
}

.tmc-role {
  margin: 0 0 12px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p7-colombia-yellow, #FCD116);
  text-align: center;
}

.tmc-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Móvil (< 640px): retrato más compacto y proporcionado para evitar scroll excesivo */
.tmc-media {
  position: relative;
  width: min(68vw, 240px);
  height: 290px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
  background-color: #141313;
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.8);
}

.tmc-media-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 9, 0) 45%,
    rgba(10, 9, 9, 0.65) 100%
  );
}

.tmc-media picture,
.tmc-img {
  display: block;
  width: 100%;
  height: 100%;
}

.tmc-img {
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tmc-slide:hover .tmc-img {
  transform: scale(1.05);
}

/* Placeholder editorial oscuro para próxima incorporación (Coming Soon) */
.tmc-placeholder-card {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px 64px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(28, 27, 24, 0.92) 0%, #0e0d0c 68%, #0a0909 100%);
  border: 1px solid rgba(252, 209, 22, 0.22);
  border-radius: 3px;
}

.tmc-placeholder-monogram {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(232, 229, 223, 0.24);
}

.tmc-placeholder-rule {
  width: 34px;
  height: 1px;
  background: rgba(252, 209, 22, 0.52);
}

.tmc-placeholder-label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 229, 223, 0.8);
}

.tmc-info {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: -34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tmc-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--p7-snow, #FDFDFC);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.tmc-first,
.tmc-last {
  display: block;
}

.tmc-last {
  font-weight: 800;
}

.tmc-details {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}

/* Botón circular editorial con texto perimetral INSTAGRAM + flecha roja ↗ */
@keyframes tmcSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tmc-circle-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  color: var(--p7-red, #C1091E);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tmc-circle-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: tmcSpin 18s linear infinite;
}

.tmc-circle-ring text {
  fill: #FFFFFF;
  font-family: var(--font-accent);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tmc-circle-arrow {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: var(--p7-red, #C1091E);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tmc-circle-cta:hover {
  transform: scale(1.06);
}

.tmc-circle-cta:hover .tmc-circle-arrow {
  transform: translate(2px, -2px);
}

.tmc-circle-cta:active {
  transform: scale(0.95);
}

.tmc-circle-cta:focus-visible {
  outline: 2px solid var(--p7-red, #C1091E);
  outline-offset: 4px;
}

.tmc-circle-cta--disabled {
  cursor: default;
  opacity: 0.42;
  pointer-events: none;
}

.tmc-circle-cta--disabled .tmc-circle-ring {
  animation: none;
}

/* Fila paralela de botones circulares (Instagram + Marca personal en ManuelCuts) */
.tmc-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  order: 2;
}

.tmc-circle-cta--brand {
  padding: 0;
  cursor: pointer;
  color: #1A62D6;
}

.tmc-circle-arrow--blue {
  color: #1A62D6;
  pointer-events: none;
}

.tmc-circle-cta--brand:hover .tmc-circle-arrow--blue {
  color: #3B82F6;
}

.tmc-circle-cta--brand:focus-visible {
  outline: 2px solid #1A62D6;
  outline-offset: 4px;
}

/* Mini ventanita modal editorial: Marca personal en desarrollo */
.brand-dialog {
  width: min(90vw, 410px);
  max-width: 410px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background-color: #0F0E0E;
  color: var(--p7-snow, #FDFDFC);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.brand-dialog[open] {
  display: block;
}

.brand-dialog-accent {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--p7-colombia-yellow, #FCD116) 0% 50%,
    var(--p7-colombia-blue, #003893) 50% 75%,
    var(--p7-colombia-red, #C1091E) 75% 100%
  );
}

.brand-dialog-inner {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-dialog-kicker {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4D8BF5;
}

.brand-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: rgba(253, 253, 252, 0.78);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 180ms ease, background-color 180ms ease, transform 160ms ease;
}

.brand-dialog-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.brand-dialog-close:active {
  transform: scale(0.92);
}

.brand-dialog-close:focus-visible {
  outline: 2px solid #1A62D6;
  outline-offset: 2px;
}

.brand-dialog-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-wrap: balance;
}

.brand-dialog-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--p7-bone, #E8E5DF);
  text-wrap: pretty;
}

.tmc-bio {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--p7-bone, #E8E5DF);
  text-wrap: pretty;
}

/* Controles minimalistas del carrusel: ‹  01 / 03  › (sin píldoras · flechas rojas) */
.tmc-controls {
  margin-top: clamp(24px, 4vw, 38px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tmc-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  color: #C1091E;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 200ms ease, transform 200ms ease;
}

.tmc-nav-btn:hover {
  color: #e0152d;
  transform: scale(1.1);
}

.tmc-nav-btn:active {
  transform: scale(0.88);
}

.tmc-nav-btn:focus-visible {
  outline: 2px solid #C1091E;
  outline-offset: 2px;
}

.tmc-count {
  min-width: 72px;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--p7-snow, #FDFDFC);
  user-select: none;
}

/* Móvil (< 640px): título y bio centrados + círculo amarillo-rojo centrado debajo */
@media (max-width: 639px) {
  .tmc-info {
    margin-top: -32px;
    gap: 14px;
  }

  .tmc-details {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding-inline: 4px;
    margin-inline: auto;
    gap: 14px;
    text-align: center;
  }

  .tmc-circle-cta {
    order: 2;
    width: 76px;
    height: 76px;
  }

  .tmc-bio {
    order: 1;
    width: 100%;
    font-size: 0.9375rem;
    line-height: 1.62;
    text-align: center;
  }

  .tmc-controls {
    display: none;
  }
}

.equipo-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 4px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--p7-bone, #E8E5DF);
  border-bottom: 1px solid #C1091E;
  -webkit-tap-highlight-color: transparent;
  transition: color 220ms ease, border-color 220ms ease;
}

.equipo-back-arrow {
  color: var(--p7-red, #C1091E);
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.equipo-back-link:hover .equipo-back-arrow,
.equipo-back-link:focus-visible .equipo-back-arrow {
  transform: translateX(-3px);
}

.equipo-back-link:hover,
.equipo-back-link:focus-visible {
  color: var(--p7-snow, #FDFDFC);
  border-bottom-color: var(--p7-red, #C1091E);
}

/* Tablet (>= 640px): Composición horizontal TeamMemberCard escalada */
@media (min-width: 640px) {
  .tmc-side-nav {
    display: none;
  }

  .tmc-role {
    text-align: left;
    margin-bottom: 16px;
  }

  .tmc-body {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .tmc-media {
    width: 280px;
    height: 380px;
  }

  .tmc-info {
    width: calc(100% - 252px);
    margin-top: 0;
    margin-left: -28px;
    align-items: flex-start;
    gap: 32px;
  }

  .tmc-name {
    text-align: left;
    font-size: 2.85rem;
    line-height: 1.06;
  }

  .tmc-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    padding-left: 56px;
    gap: 22px;
  }

  .tmc-bio {
    order: 1;
    max-width: 36ch;
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .tmc-cta-row {
    justify-content: flex-start;
    gap: 28px;
  }

  .tmc-circle-cta {
    order: 2;
    width: 82px;
    height: 82px;
    align-self: flex-start;
  }

  .tmc-circle-arrow {
    width: 22px;
    height: 22px;
  }
}

/* Escritorio (>= 1024px): Proporciones exactas de 21st.dev TeamMemberCard */
@media (min-width: 1024px) {
  .tmc-media {
    width: 360px;
    height: 500px;
  }

  .tmc-info {
    width: calc(100% - 328px);
    margin-left: -32px;
    gap: 36px;
  }

  .tmc-name {
    font-size: 3.35rem;
    line-height: 1.06;
  }

  .tmc-details {
    padding-left: 64px;
    gap: 24px;
  }

  .tmc-bio {
    max-width: 42ch;
    font-size: 0.975rem;
    line-height: 1.68;
  }

  .tmc-circle-cta {
    width: 86px;
    height: 86px;
  }
}

.equipo-footer-bar {
  margin-top: clamp(48px, 6.5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.equipo-footer-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--p7-bone, #E8E5DF);
}

/* --------------------------------------------------------------------------
   5. ESCALA PROGRESIVA MOBILE-FIRST (min-width)
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .equipo-topbar {
    padding-block: 18px;
  }

  .equipo-brand {
    gap: 10px;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
  }

  .equipo-brand-logo {
    width: 34px;
    height: 34px;
  }

  .equipo-brand-full {
    display: inline;
  }

  .liquid-glass-btn {
    min-height: 54px;
    padding: 0 36px;
  }

  .liquid-glass-btn--sm {
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.875rem;
  }
}

@media (min-width: 640px) {
  .galeria-marquee {
    padding-block: 16px;
  }

  .galeria-marquee-group {
    gap: 18px;
    padding-right: 18px;
  }

  .galeria-card {
    width: 280px;
    height: 340px;
  }
}

@media (min-width: 720px) {
  .barbero-cartulina {
    grid-template-columns: clamp(220px, 28vw, 290px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 44px);
  }
}

@media (min-width: 1024px) {
  .galeria-marquee-group {
    gap: 22px;
    padding-right: 22px;
  }

  .galeria-card {
    width: 320px;
    height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .galeria-marquee {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .galeria-marquee-track,
  .tmc-circle-ring {
    animation: none;
  }

  .galeria-marquee-group[aria-hidden='true'] {
    display: none;
  }

  .sobre-v2-cta-arrow,
  .liquid-glass-btn,
  .liquid-glass-surface,
  .barbero-photo-card,
  .galeria-card {
    transition: none;
  }
}
