/* Barber Studio · Equipo premium V13. Reglas exclusivas de #equipo.
   No afecta la portada, servicios, agenda ni el panel administrativo. */
#equipo.team-premium-section {
  position: relative;
  isolation: isolate;
  max-width: none;
  padding: 78px 28px 88px;
  background: radial-gradient(ellipse at 14% 0%, rgba(166,174,187,.085), transparent 36%),
              radial-gradient(ellipse at 95% 86%, rgba(150,157,168,.045), transparent 42%),
              linear-gradient(180deg,#101113 0%,#090a0c 100%);
  border-block: 1px solid rgba(255,255,255,.11);
  overflow: hidden;
  scroll-margin-top: 88px;
}
#equipo.team-premium-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,transparent 12%, rgba(244,248,255,.36) 42%, transparent 78%);
  pointer-events: none;
}
#equipo .team-premium-container {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}
#equipo .team-premium-head {
  display: grid;
  grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr);
  gap: clamp(24px,5vw,72px);
  align-items: end;
  margin-bottom: 33px;
}
#equipo .team-premium-head .eyebrow {
  margin: 0 0 16px;
  color: #c8cfd8;
  font-size: .75rem;
  letter-spacing: .22em;
}
#equipo .team-premium-head h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.5rem, 4.2vw, 4.15rem);
  line-height: 1.01;
  font-weight: 850;
  letter-spacing: -.058em;
  color: #f6f6f6;
  text-wrap: balance;
}
#equipo .team-premium-lead {
  max-width: 405px;
  margin: 0 0 7px;
  border-left: 1px solid rgba(229,234,242,.28);
  padding-left: 26px;
  color: #bac1ca;
  line-height: 1.65;
  font-size: 1rem;
}
#equipo .team-premium-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  gap: 22px;
}
#equipo .team-premium-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 43% minmax(0,57%);
  min-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(206,216,232,.22);
  background: linear-gradient(140deg,#191b1e 0%,#101113 60%,#0c0d0f 100%);
  box-shadow: 0 18px 48px #0006, 0 1px 0 #ffffff0c inset;
  position: relative;
  isolation: isolate;
  transition: border-color .2s ease, transform .2s ease,box-shadow .2s ease;
}
#equipo .team-premium-card::after {
  content:"";
  position:absolute;
  z-index: 2;
  inset: 0 24px auto;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(248,250,255,.73),transparent);
  box-shadow: 0 0 14px rgba(255,255,255,.15);
  pointer-events:none;
}
#equipo .team-premium-card:hover {
  border-color: rgba(225,233,244,.48);
  transform: translateY(-3px);
  box-shadow:0 22px 58px #0009, 0 0 28px #ebf0ff0b;
}
#equipo .team-premium-photo {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 100%;
  background:#08090b;
}
#equipo .team-premium-photo img {
  position: absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position: center 27%;
  filter: saturate(.82) contrast(1.04);
  transition: transform .35s ease;
}
#equipo .team-premium-photo:not(.team-premium-photo-logo)::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,transparent 76%,rgba(7,8,10,.26));
  pointer-events:none;
}
#equipo .team-premium-photo-logo {
  background:radial-gradient(circle at 50% 47%,#1b1d21,#07080a 75%);
}
#equipo .team-premium-photo-logo img {
  object-fit: contain;
  object-position:center;
  padding: 20px 10px;
  filter: contrast(1.05);
}
#equipo .team-premium-card:hover .team-premium-photo img {transform:scale(1.025)}
#equipo .team-premium-details {
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding: clamp(23px,2.5vw,35px) clamp(21px,2.3vw,32px);
}
#equipo .team-premium-role {
  margin:0 0 12px;
  color:#a4adb8;
  letter-spacing:.19em;
  font-size:.71rem;
  font-weight:750;
}
#equipo .team-premium-details h3 {
  margin:0;
  font-size:clamp(1.85rem,2.7vw,2.65rem);
  line-height:1.05;
  letter-spacing:-.055em;
  color:#fff;
}
#equipo .team-premium-divider {
  display:block;
  width:42px;
  height:1px;
  margin:18px 0 17px;
  background:linear-gradient(90deg,#f0f2f5,#616974);
  box-shadow:0 0 11px #ffffff4a;
}
#equipo .team-premium-specialties {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 15px;
  color:#e0e4e9;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.055em;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#equipo .team-premium-specialties svg {
  width:19px;height:19px;max-width:19px;max-height:19px;flex:0 0 19px;
  color:#cfd5de;
}
#equipo .team-premium-description {
  margin:0;
  max-width:36ch;
  color:#b9bec7;
  font-size:.94rem;
  line-height:1.6;
  overflow-wrap:anywhere;
}
#equipo .team-premium-experience {
  margin:11px 0 0;
  color:#d0d6df;
  font-size:.81rem;
}
#equipo .team-premium-links {
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  margin-top:auto;
  padding-top:24px;
}
#equipo .team-premium-book {
  width:100%;
  min-height:46px;
  border:1px solid rgba(242,247,255,.62);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(0,0,0,.16));
  color:#fafafa;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:10px 14px;
  font-size:.89rem;
  font-weight:800;
  text-align:center;
  cursor:pointer;
  box-shadow:0 0 15px #ffffff10, 0 1px 1px #ffffff24 inset;
  transition:background .2s ease,box-shadow .2s ease;
}
#equipo .team-premium-book:hover,
#equipo .team-premium-book:focus-visible {
  background:rgba(247,248,250,.16);
  box-shadow:0 0 22px #ffffff35;
}
#equipo .team-premium-book:focus-visible,
#equipo .team-premium-instagram:focus-visible {outline:2px solid #fff;outline-offset:3px}
#equipo .team-premium-book > span {font-size:1.05rem;line-height:1}
#equipo .team-premium-instagram {text-decoration:none;color:#bec5ce;font-size:.82rem;font-weight:750}
#equipo .team-premium-instagram:hover {color:#fff;text-decoration:underline}
#equipo .team-premium-unavailable {font-size:.84rem;color:#b2b9c2}

@media(max-width:1100px) {
  #equipo .team-premium-grid{grid-template-columns:1fr;max-width:760px;margin-inline:auto}
  #equipo .team-premium-card{grid-template-columns:40% minmax(0,60%);min-height:340px}
  #equipo .team-premium-details{padding:30px 34px}
}
@media(max-width:700px) {
  #equipo.team-premium-section{padding:58px 18px 65px;scroll-margin-top:75px}
  #equipo .team-premium-head{grid-template-columns:1fr;gap:14px;margin-bottom:24px}
  #equipo .team-premium-head h2{font-size:clamp(2.15rem,8vw,3.15rem);max-width:13ch}
  #equipo .team-premium-lead{border-left:0;border-top:1px solid #ffffff24;padding:14px 0 0;max-width:44ch;font-size:.96rem;margin:0}
  #equipo .team-premium-card{grid-template-columns:1fr;min-height:0;border-radius:20px}
  #equipo .team-premium-photo{min-height:240px;height:270px}
  #equipo .team-premium-photo-logo img{padding:24px 18px}
  #equipo .team-premium-details{padding:24px;min-height:0}
  #equipo .team-premium-details h3{font-size:2rem}
  #equipo .team-premium-links{margin-top:0;padding-top:22px}
  #equipo .team-premium-grid{gap:17px}
}
@media(max-width:380px) {
  #equipo.team-premium-section{padding-inline:14px}
  #equipo .team-premium-photo{height:238px;min-height:238px}
  #equipo .team-premium-details{padding:21px}
}
@media(prefers-reduced-motion:reduce){
  #equipo .team-premium-card,
  #equipo .team-premium-photo img,
  #equipo .team-premium-book{transition:none}
  #equipo .team-premium-card:hover,
  #equipo .team-premium-card:hover .team-premium-photo img{transform:none}
}
