/* Equipo Legends · carrusel editorial y agenda idéntica en estructura al calendario de Reserva */
.team-section{background:#fff;overflow:hidden}
.team-section .legend-team-container{max-width:1420px;width:min(1420px,93%)}
.legend-team-head{text-align:center;margin:0 auto 40px;max-width:850px}
.legend-team-kicker{font-size:10px;font-weight:800;letter-spacing:.17em;color:#a77f49;text-transform:uppercase;margin:0 0 10px}
.legend-team-head .section-heading{font-size:clamp(30px,4.1vw,53px);font-weight:700;line-height:1.18;margin:0 0 12px}
.team-section .legend-team-head .section-heading:before{display:none}
.legend-team-head>p:last-child{font-size:13px;color:#737373;margin:0}
.legend-team-carousel{position:relative;padding:18px 0 0}
.legend-team-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.legend-team-card{min-width:0;text-align:center;transition:transform .35s,opacity .3s;will-change:transform}
.legend-team-card.is-secondary{opacity:.66}
.legend-team-photo{appearance:none;display:block;position:relative;width:100%;height:315px;padding:0;margin:0;background:#dedede;overflow:hidden;border:0;border-radius:65px 65px 43px 43px;cursor:pointer;transition:height .3s,box-shadow .3s}
.legend-team-photo img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .35s,transform .4s}
.legend-team-photo.is-logo img{object-fit:contain;padding:28%;background:linear-gradient(135deg,#202020,#070707)}
.legend-team-card.is-centered{transform:translateY(-18px);opacity:1}
.legend-team-card.is-centered .legend-team-photo{height:352px;box-shadow:0 18px 40px rgba(0,0,0,.12)}
.legend-team-card.is-centered .legend-team-photo img{filter:none}
.legend-team-card:hover .legend-team-photo img{filter:grayscale(.25);transform:scale(1.035)}
.legend-team-photo:focus-visible,.legend-team-card a:focus-visible,.legend-team-card button:focus-visible{outline:2px solid #c5a16b;outline-offset:3px}
.legend-team-info{padding:15px 4px 0;min-width:0}
.legend-team-info h3{margin:0 0 2px;color:#151515;font-size:clamp(14px,1.4vw,20px);font-weight:700;line-height:1.25}
.legend-team-role{margin:0;color:#727272;font-size:11px;line-height:1.4}
.legend-team-specialty{color:#888;font-size:10px;line-height:1.45;margin:6px auto 5px;max-width:230px;min-height:28px}
.legend-team-rating{color:#5b5b5b;font-size:10px;margin:8px 0 10px;min-height:19px}
.legend-team-rating>span{color:#bd955b;font-size:15px}
.legend-team-rating strong{font-size:12px;color:#1a1a1a}
.legend-team-rating small{color:#777}
.legend-team-actions{display:flex;flex-direction:column;gap:7px;width:min(190px,100%);margin:0 auto}
.legend-team-schedule,.legend-team-profile{display:flex;align-items:center;justify-content:center;gap:6px;min-height:37px;text-align:center;padding:8px 7px;border:1px solid #111;border-radius:3px;font-size:9px;font-weight:800;letter-spacing:.045em;line-height:1.3;transition:background .2s,color .2s}
.legend-team-schedule{background:#111;color:#fff}
.legend-team-schedule:hover{background:#303030}
.legend-team-profile{background:#fff;color:#111}
.legend-team-profile:hover{background:#f2f2f2;color:#111}
.legend-team-socials,.legend-profile-socials{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:11px}
.legend-team-social{display:grid;place-items:center;min-width:33px;height:33px;padding:0 7px;background:#141414;color:#fff;border-radius:50%;font-size:12px;font-weight:800;line-height:1;transition:background .2s}
.legend-team-social:hover{background:#ba945e;color:#111}
.legend-team-controls{display:flex;align-items:center;gap:20px;margin:21px 0 23px}
.legend-team-current{font-size:10px;color:#888;white-space:nowrap;font-variant-numeric:tabular-nums}
.legend-team-progress{flex:1;height:2px;background:#e9e9e9}
.legend-team-progress>span{display:block;height:100%;background:#b79460;transition:width .3s}
.legend-team-arrows{display:flex;gap:9px}
.legend-team-arrows button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:#111;color:#fff;border-radius:50%;font-size:27px;line-height:1;box-shadow:0 2px 9px #0002}
.legend-team-arrows button:hover{background:#c5a16b;color:#111}
.legend-team-agenda{margin:30px 0 33px;padding:26px 28px;border:1px solid #e6e6e6;border-radius:13px;background:#fff;scroll-margin-top:115px}
.legend-team-agenda[hidden]{display:none!important}
.legend-team-agenda-header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}
.legend-team-agenda-header h3{font-size:22px;line-height:1.3;margin:0;color:#141414;font-weight:700}
.legend-team-close{border:0;background:#f1f1f1;width:34px;height:34px;border-radius:50%;font-size:14px;color:#111}
.legend-team-close:hover{background:#dfdfdf}
.legend-team-empty{grid-column:1/-1;text-align:center;color:#777;padding:55px}
.legends-agenda{font-family:'Open Sans',Arial,sans-serif;color:#1b1b1b}
.legends-agenda-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:28px;align-items:start}
.legends-agenda-calendar,.legends-agenda-times{min-width:0}
.legends-agenda .booking-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 13px;padding:4px;background:#f1f1f1;border:0;border-radius:8px}
.legends-agenda .booking-mode button{border:0;border-radius:5px;padding:10px 5px;background:transparent;color:#666;font-size:11px;font-weight:700}
.legends-agenda .booking-mode button.selected{color:#111;background:#fff;box-shadow:0 1px 5px #00000014}
.legends-agenda .booking-calendar{width:100%;border:1px solid #e5e5e5;border-radius:10px;background:#fff;padding:13px;box-shadow:none}
.legends-agenda .booking-calendar-head{display:flex;justify-content:space-between;align-items:center;gap:9px;margin:2px 0 15px}
.legends-agenda .booking-calendar-head strong{font-size:12px;color:#151515;font-weight:800;text-transform:capitalize}
.legends-agenda .booking-calendar-head button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:7px;background:#f2f2f2;color:#242424}
.legends-agenda .booking-calendar-head button:hover:not(:disabled){background:#e8e8e8}
.legends-agenda .booking-calendar-head button:disabled{opacity:.3;cursor:not-allowed}
.legends-agenda .booking-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.legends-agenda .booking-calendar-days>span:not(.booking-day-empty){font-weight:800;font-size:9px;color:#757575;margin-bottom:8px}
.legends-agenda .booking-day{display:grid;place-items:center;aspect-ratio:1;min-height:30px;min-width:0;padding:2px 0;font-size:10px;font-weight:600;background:transparent;border:0;color:#252525;border-radius:6px;cursor:pointer}
.legends-agenda .booking-day.selected{background:#c5a16b;color:#151515;font-weight:800}
.legends-agenda .booking-day:hover:not(:disabled):not(.selected){background:#f0f0f0}
.legends-agenda .booking-day:disabled{opacity:.27;cursor:not-allowed}
.legends-agenda .booking-times-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin:2px 0 12px}
.legends-agenda .booking-times-head strong{font-size:12px;font-weight:800;color:#191919}
.legends-agenda .booking-times-head small{font-size:10px;color:#777}
.legends-agenda .booking-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.legends-agenda .time-chip{display:grid;place-items:center;min-width:0;min-height:36px;padding:9px 4px;background:#f2f2f2;color:#171717;border:1px solid transparent;border-radius:6px;text-align:center;font-size:11px;font-weight:700;line-height:1.2}
.legends-agenda a.time-chip:hover{background:#e9e3da;border-color:#c5a16b;color:#111}
.legends-agenda .time-chip:disabled{color:#b7b7b7;background:#fafafa;cursor:not-allowed}
.legends-agenda .booking-empty{grid-column:1/-1;color:#777;font-size:12px;margin:15px 0}
.legend-team-agenda .legends-agenda-hint,.legend-profile-availability .legends-agenda-hint{font-size:11px;line-height:1.6;color:#797979;margin:14px 0 0}
.legend-profile-availability{background:#fff;padding:70px 0 85px}
.legend-profile-availability>.container-wide{width:min(1120px,92%)}
.legend-profile-availability .section-heading{font-size:clamp(29px,4vw,44px);margin:0 0 7px}
.legend-profile-availability .section-heading:before{display:none}
.legend-profile-calendar-info{font-size:13px;color:#777;margin:0 0 28px}
.legend-profile-availability .legends-agenda{padding:26px;border:1px solid #e5e5e5;border-radius:11px;background:white}
.legend-professional-hero .profile-meta{margin-bottom:27px}
.legend-professional-hero .legend-profile-rating-value{font-size:17px;color:#f3d19b}
.legend-professional-hero .legend-profile-socials{justify-content:start;margin:0 0 28px}
.legend-professional-hero .legend-team-social{border:1px solid #5f5f5f}
.legend-professional-hero .profile-portrait img[src*="legends-gold.webp"]{object-fit:contain;padding:20%;background:radial-gradient(circle at center,#323232,#101010)}
.profile-missing{padding:120px 0;color:#171717}
@media(max-width:1050px){
 .legend-team-track{grid-template-columns:repeat(3,minmax(0,1fr));max-width:820px;margin:auto;gap:18px}
 .legend-team-card:first-child,.legend-team-card:last-child{display:none}
 .legend-team-photo{height:290px}
 .legend-team-card.is-centered .legend-team-photo{height:320px}
}
@media(max-width:760px){
 .team-section .legend-team-container{width:min(650px,92%)}
 .legend-team-head{margin-bottom:28px}
 .legend-team-head .section-heading{font-size:clamp(30px,7vw,40px)}
 .legend-team-track{grid-template-columns:minmax(0,1fr);max-width:360px}
 .legend-team-card:not(.is-centered){display:none}
 .legend-team-photo,.legend-team-card.is-centered .legend-team-photo{height:340px;border-radius:55px 55px 34px 34px}
 .legend-team-card.is-centered{transform:none}
 .legend-team-info{padding-top:17px}
 .legend-team-info h3{font-size:21px}
 .legend-team-role{font-size:12px}
 .legend-team-controls{margin:18px 0 24px}
 .legend-team-agenda{padding:20px 15px;margin:25px 0}
 .legend-team-agenda-header h3{font-size:18px}
 .legends-agenda-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .legends-agenda .booking-times-head{margin:0 0 12px}
 .legend-profile-availability{padding:50px 0}
 .legend-profile-availability .legends-agenda{padding:18px}
}
@media(max-width:400px){
 .legend-team-photo,.legend-team-card.is-centered .legend-team-photo{height:305px}
 .legend-team-agenda{padding:17px 10px}
 .legends-agenda .booking-calendar{padding:9px}
 .legends-agenda .booking-day{min-height:27px}
 .legends-agenda .booking-slots{gap:5px}
 .legends-agenda .time-chip{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 .legend-team-card,.legend-team-photo,.legend-team-photo img,.legend-team-progress>span{transition:none}
}

/* 2026-11-24 · Flechas arriba y agenda junto al profesional */
.legend-team-nav-top{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:clamp(10px,2.4vw,32px);align-items:center;margin:0 0 36px}
.legend-team-nav-top .legend-team-head{width:100%;margin:0 auto}
.legend-team-top-arrow{appearance:none;display:grid;place-items:center;width:44px;height:44px;padding:0;background:#111;color:#fff;border:0;border-radius:50%;font:400 30px/1 'Open Sans',Arial,sans-serif;cursor:pointer;box-shadow:0 2px 9px #0002;transition:background .2s,color .2s}
.legend-team-top-arrow:hover{background:#c5a16b;color:#111}
.legend-team-top-arrow:focus-visible{outline:2px solid #c5a16b;outline-offset:4px}
.legend-team-stage{min-width:0}
.legend-team-stage .legend-team-carousel{min-width:0}
.legend-team-stage .legend-team-agenda[hidden]{display:none!important}
.legend-team-controls{margin:25px 0 20px}
@media(min-width:901px){
 .legend-team-stage[data-agenda-open="true"]{display:grid;grid-template-columns:minmax(210px,.78fr) minmax(0,2.42fr);gap:clamp(22px,3vw,50px);align-items:start}
 .legend-team-stage[data-agenda-open="true"] .legend-team-carousel{padding:0;min-width:0}
 .legend-team-stage[data-agenda-open="true"] .legend-team-track{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:270px;margin:auto}
 .legend-team-stage[data-agenda-open="true"] .legend-team-card:not(.is-centered){display:none!important}
 .legend-team-stage[data-agenda-open="true"] .legend-team-card.is-centered{transform:none;width:100%}
 .legend-team-stage[data-agenda-open="true"] .legend-team-card.is-centered .legend-team-photo{height:clamp(290px,28vw,345px)}
 .legend-team-stage[data-agenda-open="true"] .legend-team-info{padding-top:13px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-agenda{width:100%;min-width:0;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;scroll-margin-top:120px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-agenda-header{margin:0 0 17px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-agenda-header h3{font-size:clamp(17px,1.65vw,23px)}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(12px,1.7vw,24px)}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-calendar,
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-times{min-width:0}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-calendar{padding:clamp(8px,.9vw,13px)}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-calendar-days{gap:2px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-day{min-height:26px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-slots{gap:5px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .time-chip{min-height:34px;padding:6px 2px;font-size:10px}
}
@media(max-width:900px){
 .legend-team-stage[data-agenda-open="true"]{display:block}
 .legend-team-stage[data-agenda-open="true"] .legend-team-agenda{margin:25px 0;padding:20px 15px;border:1px solid #e6e6e6;border-radius:12px}
}
@media(max-width:760px){
 .legend-team-nav-top{grid-template-columns:38px minmax(0,1fr) 38px;gap:7px;margin:0 0 24px}
 .legend-team-top-arrow{width:36px;height:36px;font-size:26px}
 .legend-team-nav-top .legend-team-head .section-heading{font-size:clamp(23px,6.5vw,34px)}
 .legend-team-nav-top .legend-team-head>p:last-child{font-size:11px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-agenda{margin:22px 0;padding:18px 13px}
}
@media(max-width:400px){
 .legend-team-nav-top{grid-template-columns:32px minmax(0,1fr) 32px;gap:5px}
 .legend-team-top-arrow{width:31px;height:31px;font-size:22px}
 .legend-team-nav-top .legend-team-head .section-heading{font-size:24px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-agenda{padding:16px 9px}
}


/* Refinamiento del equipo: flechas debajo de la fotografía y calendario ligeramente menor. */
.legend-team-nav-top{display:block;margin:0 0 33px}
.legend-team-nav-top .legend-team-head{margin-inline:auto;max-width:850px}
.legend-team-photo-arrows{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 5% 0;min-height:37px}
.legend-team-photo-arrows button{display:grid;place-items:center;appearance:none;width:37px;height:37px;padding:0;background:#101010;color:#fff;border:0;border-radius:50%;font:400 26px/1 'Open Sans',Arial,sans-serif;cursor:pointer;box-shadow:0 2px 7px #0002;transition:background .2s,color .2s}
.legend-team-photo-arrows button:hover{background:#c5a16b;color:#111}
.legend-team-photo-arrows button:focus-visible{outline:2px solid #c5a16b;outline-offset:3px}
.legend-team-card.is-centered .legend-team-info{padding-top:11px}
.legends-agenda .time-chip.selected{background:#c5a16b;color:#171717;border-color:#c5a16b;font-weight:800}
.legends-agenda .legend-agenda-continue{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;margin-top:16px;padding:11px 16px;border:1px solid #111;border-radius:5px;background:#111;color:#fff;font:800 11px/1.4 'Open Sans',Arial,sans-serif;letter-spacing:.06em;text-align:center;cursor:pointer;transition:background .2s,color .2s}
.legends-agenda a.legend-agenda-continue:hover,.legends-agenda a.legend-agenda-continue:focus-visible{background:#c5a16b;color:#111;border-color:#c5a16b}
.legends-agenda .legend-agenda-continue:disabled{background:#eeeeee;border-color:#eee;color:#a1a1a1;cursor:not-allowed}
.legend-profile-availability .legends-agenda-calendar{max-width:350px}
@media(min-width:901px){
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-grid{grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr)}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-calendar{width:100%;max-width:310px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-calendar{padding:8px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-day{min-height:23px;font-size:9px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-calendar-head{margin-bottom:10px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda .booking-mode{margin-bottom:9px}
}
@media(max-width:900px){
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-calendar{max-width:350px;width:100%;margin-inline:auto}
}
@media(max-width:760px){
 .legend-team-nav-top{display:block;margin-bottom:25px}
 .legend-team-photo-arrows{margin:9px 9% 0}
 .legend-team-photo-arrows button{width:39px;height:39px}
 .legend-team-stage[data-agenda-open="true"] .legends-agenda-calendar{max-width:100%}
 .legend-team-nav-top .legend-team-head .section-heading{font-size:clamp(29px,7vw,40px)}
}


/* Navegación de escritorio: extremos de la fila completa de cinco fotografías.
   Las flechas bajo la tarjeta central se conservan sin cambios en mobile/tablet. */
.legend-team-wide-arrows{display:none}
@media(min-width:901px){
 .legend-team-carousel{position:relative}
 .legend-team-photo-arrows{display:none!important}
 .legend-team-wide-arrows{
  position:absolute;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  left:-16px;
  right:-16px;
  top:343px;
  height:0;
  pointer-events:none;
 }
 .legend-team-wide-arrows button{
  pointer-events:auto;
  display:grid;
  place-items:center;
  appearance:none;
  width:39px;
  height:39px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#111;
  color:#fff;
  font:400 27px/1 'Open Sans',Arial,sans-serif;
  box-shadow:0 2px 8px #0002;
  cursor:pointer;
  transition:background .2s,color .2s;
 }
 .legend-team-wide-arrows button:hover{background:#c5a16b;color:#111}
 .legend-team-wide-arrows button:focus-visible{outline:2px solid #c5a16b;outline-offset:4px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-wide-arrows{
  top:calc(clamp(290px,28vw,345px) + 11px);
  left:-12px;
  right:-12px;
 }
}
@media(min-width:901px) and (max-width:1050px){
 .legend-team-wide-arrows{top:318px}
}
@media(max-width:900px){
 .legend-team-wide-arrows{display:none!important}
}


/* Carrusel del equipo · evaluación inicial y flechas alineadas con especialidades */
.legend-team-rating>span{color:#ffcc21!important;text-shadow:0 0 1px #efbd00}
.legend-professional-hero .legend-profile-rating-star{color:#ffcc21;font-size:20px;line-height:1}
.legend-professional-hero .legend-profile-rating-value{color:#fff}
@media(min-width:901px){
 .legend-team-wide-arrows{top:385px}
 .legend-team-stage[data-agenda-open="true"] .legend-team-wide-arrows{top:385px}
 .legend-team-photo img{animation:legends-photo-arrive .5s ease-out}
}
@keyframes legends-photo-arrive{
 from{opacity:.5}
 to{opacity:1}
}
@media(prefers-reduced-motion:reduce){
 .legend-team-photo img{animation:none}
}


/* 2026-11-24: tarjetas y fotografías uniformes, todas a color */
.team-section .legend-team-track{align-items:stretch}
.team-section .legend-team-card{display:flex;flex-direction:column;height:100%;opacity:1!important;transform:none!important}
.team-section .legend-team-card.is-secondary{opacity:1!important}
.team-section .legend-team-photo,
.team-section .legend-team-card.is-centered .legend-team-photo{height:330px!important;box-shadow:none}
.team-section .legend-team-photo img,
.team-section .legend-team-card.is-centered .legend-team-photo img,
.team-section .legend-team-card:hover .legend-team-photo img,
.legend-professional-hero .profile-portrait img{filter:none!important}
.team-section .legend-team-card:hover .legend-team-photo img{transform:scale(1.025)}
.team-section .legend-team-info{display:flex;flex-direction:column;flex:1;padding:15px 5px 0}
.team-section .legend-team-info h3{min-height:1.4em}
.team-section .legend-team-role{min-height:1.5em}
.team-section .legend-team-specialty-row{position:relative;display:flex;align-items:center;justify-content:center;min-height:45px}
.team-section .legend-team-specialty-row .legend-team-specialty{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0 auto;max-width:100%;padding:5px 0;text-align:center}
.team-section .legend-team-rating{margin:6px 0 12px;min-height:22px}
.team-section .legend-team-actions{margin:auto auto 0;width:min(190px,100%)}
.team-section .legend-team-socials{margin-top:11px;min-height:33px}
.legend-professional-hero .legend-profile-social-wrap{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 26px;gap:11px}
.legend-professional-hero .legend-profile-social-wrap>p{font-size:10px;letter-spacing:.16em;font-weight:700;color:#ddc5a2;margin:0}
.legend-professional-hero .legend-profile-social-wrap .legend-profile-socials{display:flex;justify-content:flex-start;margin:0;gap:11px}
.legend-professional-hero .legend-profile-social-wrap .legend-team-social{width:39px;height:39px;background:#2a2a2a;border:1px solid #716046;color:#f1debc}
.legend-professional-hero .legend-profile-social-wrap .legend-team-social:hover{background:#c5a16b;color:#111}
.legend-profile-services{margin:22px 0 36px}
.legend-profile-services h3,.legend-profile-schedule-heading h3{font-size:17px;font-weight:800;color:#151515;margin:0 0 16px;display:flex;align-items:center;gap:9px}
.legend-profile-services h3 svg{width:20px;height:20px;color:#b18c5c}
.legend-profile-services .booking-option-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.legend-profile-services .booking-select-option{display:flex;align-items:center;gap:12px;min-height:100px;width:100%;padding:16px;border:1px solid #e3e3e3;border-radius:7px;text-align:left;background:#fff;color:#171717;cursor:pointer;transition:border-color .2s,background .2s}
.legend-profile-services .booking-select-option:hover{border-color:#b99563;background:#faf8f4}
.legend-profile-services .booking-select-option.selected{border-color:#bf9b64;background:#faf6ef;box-shadow:inset 0 0 0 1px #bf9b64}
.legend-profile-services .booking-select-option:focus-visible{outline:2px solid #bf9b64;outline-offset:3px}
.legend-profile-services .booking-option-copy{display:flex;flex-direction:column;flex:1;gap:5px;min-width:0}
.legend-profile-services .booking-option-copy strong{font-size:13px;font-weight:800;line-height:1.35;color:#181818}
.legend-profile-services .booking-option-copy small{font-size:11px;line-height:1.55;color:#6b6b6b}
.legend-profile-services .booking-option-price{font-size:13px;font-weight:800;color:#997345;margin-top:2px}
.legend-profile-services .booking-select-mark{flex:0 0 20px;width:20px;height:20px;display:grid;place-items:center;border:1px solid #bababa;color:transparent;border-radius:50%}
.legend-profile-services .booking-select-option.selected .booking-select-mark{background:#b99462;border-color:#b99462;color:#111}
.legend-profile-services .booking-select-mark svg{width:13px;height:13px}
.legend-profile-availability .legends-agenda{max-width:100%}
@media(min-width:901px){
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-card.is-centered .legend-team-photo{height:330px!important}
}
@media(max-width:900px){
 .team-section .legend-team-photo,
 .team-section .legend-team-card.is-centered .legend-team-photo{height:330px!important}
 .legend-profile-services .booking-option-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .team-section .legend-team-specialty-row{min-height:55px}
 .team-section .legend-team-specialty-row .legend-team-specialty{padding:4px 49px;min-height:50px}
 .team-section .legend-team-specialty-row .legend-team-photo-arrows{display:flex;position:absolute;top:50%;left:4%;right:4%;transform:translateY(-50%);align-items:center;justify-content:space-between;gap:0;margin:0;min-height:0;pointer-events:none}
 .team-section .legend-team-specialty-row .legend-team-photo-arrows button{pointer-events:auto}
 .legend-profile-services .booking-option-list{grid-template-columns:minmax(0,1fr);gap:9px}
 .legend-profile-services .booking-select-option{min-height:83px}
}
@media(max-width:400px){
 .team-section .legend-team-specialty-row .legend-team-specialty{padding-inline:43px}
 .team-section .legend-team-photo,.team-section .legend-team-card.is-centered .legend-team-photo{height:305px!important}
}


/* Restaurar jerarquía visual: cuatro tarjetas regulares + una central más grande.
   Las imágenes continúan a color y cada columna mantiene el mismo ancho. */
@media(min-width:901px){
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card.is-centered{
  transform:translateY(-18px)!important;
  z-index:2;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card.is-centered .legend-team-photo{
  height:372px!important;
  box-shadow:0 16px 36px rgba(0,0,0,.13)!important;
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-card.is-centered{
  transform:none!important;
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-card.is-centered .legend-team-photo{
  height:354px!important;
  box-shadow:0 12px 26px rgba(0,0,0,.10)!important;
 }
 .team-section .legend-team-stage[data-agenda-open="true"]{
  grid-template-columns:minmax(185px,.75fr) minmax(0,3.25fr);
  gap:clamp(14px,2.2vw,30px);
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-inline-booking{
  display:grid;
  grid-template-columns:minmax(175px,.9fr) minmax(0,2.1fr);
  gap:clamp(12px,1.6vw,22px);
  align-items:start;
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-inline-booking .legends-agenda-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(10px,1.2vw,18px);
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-services{
  max-width:none;
 }
 .legend-profile-availability>.container-wide{width:min(1330px,94%)}
 .legend-profile-booking-grid{
  display:grid;
  grid-template-columns:minmax(245px,.9fr) minmax(0,2.1fr);
  gap:clamp(20px,2.6vw,38px);
  align-items:start;
  margin-top:28px;
 }
 .legend-profile-booking-grid .legend-profile-services{margin:0}
 .legend-profile-booking-grid .legend-profile-datetime{min-width:0}
 .legend-profile-booking-grid .legend-profile-datetime .legends-agenda{margin:0}
}
.legend-team-services h4{font-size:12px;font-weight:800;color:#181818;margin:0 0 13px}
.legend-team-services .booking-option-list{
 display:flex;flex-direction:column;gap:9px;max-height:none;overflow:visible;
 padding:1px 2px;
}
.legend-team-services .booking-select-option{
 appearance:none;display:flex;align-items:center;gap:8px;min-height:62px;
 width:100%;background:white;border:1px solid #e5e5e5;border-radius:7px;
 padding:10px 9px;text-align:left;cursor:pointer;
}
.legend-team-services .booking-select-option:hover{border-color:#b99563;background:#faf8f4}
.legend-team-services .booking-select-option.selected{border-color:#bf9b64;background:#faf6ef;box-shadow:inset 0 0 0 1px #bf9b64}
.legend-team-services .booking-option-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.legend-team-services .booking-option-copy strong{font-size:11px;color:#171717;font-weight:800;line-height:1.3}
.legend-team-services .booking-option-copy small{font-size:9px;color:#717171;line-height:1.45}
.legend-team-services .booking-option-price{font-size:11px;font-weight:800;color:#987346}
.legend-team-services .booking-select-mark{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;border:1px solid #aaa;color:transparent}
.legend-team-services .booking-select-option.selected .booking-select-mark{background:#c5a16b;border-color:#c5a16b;color:#111}
.legend-team-services .booking-select-mark svg{width:12px;height:12px}
@media(max-width:900px){
 .legend-profile-booking-grid{display:block;margin-top:22px}
 .legend-profile-booking-grid .legend-profile-services{margin-bottom:26px}
 .legend-profile-booking-grid .legend-profile-datetime{min-width:0}
}


/* Equipo: retrato principal sobresaliente, sin desalinear textos ni botones.
   La fotografía central crece hacia ARRIBA: todas terminan en la misma línea. */
@media(min-width:901px){
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-carousel{padding-top:70px}
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-track{align-items:stretch}
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card,
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card.is-centered{
  transform:none!important;
  height:100%;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card .legend-team-photo{
  height:324px!important;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card.is-centered .legend-team-photo{
  height:392px!important;
  width:calc(100% + 20px);
  margin-top:-68px;
  margin-left:-10px;
  margin-bottom:0;
  box-shadow:0 20px 38px rgba(0,0,0,.15)!important;
  position:relative;
  z-index:2;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card .legend-team-info,
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card.is-centered .legend-team-info{
  padding-top:15px;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card .legend-team-info h3,
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card .legend-team-role,
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card .legend-team-specialty-row,
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card .legend-team-rating{
  flex-shrink:0;
 }
}
@media(max-width:760px){
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-track{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
  max-width:360px;
  margin-inline:auto;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-card{
  width:100%;
  height:auto;
  opacity:1!important;
  transform:none!important;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-carousel{
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
 }
 .team-section .legend-team-stage[data-agenda-open="false"] .legend-team-photo img{
  pointer-events:none;
 }
}


/* Desktop: servicios completos sin barra interna y espacios proporcionados.
   El scroll normal de la página se conserva; móvil no cambia su distribución. */
@media(min-width:901px){
 .team-section .legend-team-stage[data-agenda-open="true"]{
  grid-template-columns:minmax(185px,.76fr) minmax(0,3.24fr);
  gap:clamp(20px,2.25vw,36px);
  align-items:start;
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-inline-booking{
  grid-template-columns:minmax(0,1fr) minmax(0,2.15fr);
  gap:clamp(26px,2.6vw,42px);
  align-items:start;
  min-width:0;
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-inline-booking .legends-agenda-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,2.25vw,36px);
  align-items:start;
 }
 .team-section .legend-team-stage[data-agenda-open="true"] .legend-team-services,
 .team-section .legend-team-stage[data-agenda-open="true"] .legends-agenda{
  min-width:0;
 }
 .team-section .legend-team-services .booking-option-list{
  max-height:none;
  height:auto;
  overflow:visible;
  scrollbar-width:none;
 }
 .team-section .legend-team-services .booking-option-list::-webkit-scrollbar{display:none}
 .legend-profile-booking-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,2.15fr);
  gap:clamp(30px,3vw,50px);
 }
 .legend-profile-booking-grid .legends-agenda-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,2.7vw,42px);
 }
 .legend-profile-booking-grid .legend-profile-services,
 .legend-profile-booking-grid .legend-profile-datetime,
 .legend-profile-booking-grid .legends-agenda-calendar,
 .legend-profile-booking-grid .legends-agenda-times{min-width:0}
}
