.locations .heading p{max-width:62ch;color:#6a6269}.location-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2.2vw,2rem);align-items:start}.location-grid .location-card{padding:0;overflow:hidden;background:#fff;border:1px solid #ded5da;box-shadow:0 14px 36px rgba(51,39,49,.07);transition:transform .28s ease,box-shadow .28s ease}.location-grid .location-card:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(51,39,49,.12)}.location-photo{height:230px;overflow:hidden;background:linear-gradient(145deg,#eee6ea,#e3d9df)}.location-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.location-card:hover .location-photo img{transform:scale(1.025)}.location-photo-empty{display:grid;place-items:center;background:linear-gradient(135deg,var(--paper),#efe7eb);position:relative}.location-photo-empty:before{content:"";position:absolute;inset:18px;border:1px solid rgba(80,54,78,.15)}.location-photo-empty span{display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(80,54,78,.28);border-radius:50%;color:var(--primary);font-family:Georgia,"Times New Roman",serif;font-size:2rem}.location-content{padding:clamp(1.5rem,2.6vw,2.25rem)}.location-index{display:block;margin-bottom:1.2rem;color:var(--accent);font-size:.72rem;font-weight:850;letter-spacing:.14em}.location-card h3{margin:0 0 1rem;color:var(--primary);font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.45rem,2.2vw,2rem);font-weight:500;line-height:1.15}.location-card p{margin:.8rem 0;color:#655e64}.location-card p strong,.location-services>strong{color:#302b30;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase}.location-address{min-height:3.3em}.location-schedules{margin:1.4rem 0;padding:1rem 0;border-top:1px solid #e0d8dd;border-bottom:1px solid #e0d8dd}.location-schedules p{display:flex;justify-content:space-between;gap:1rem;margin:.55rem 0}.location-schedules p strong{max-width:48%;letter-spacing:0;text-transform:none}.location-schedules p span{text-align:right}.location-services{margin-top:1.35rem;padding:1.1rem;background:var(--paper);border-left:3px solid var(--accent)}.location-services p{margin:.65rem 0 0;line-height:1.75}.location-directions{display:inline-block;margin-top:1.25rem;color:var(--primary);font-weight:800;text-decoration:none;border-bottom:1px solid currentColor}
@media(max-width:1050px){.location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.location-card:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:minmax(260px,.8fr) 1.2fr}.location-card:last-child:nth-child(odd) .location-photo{height:100%;min-height:360px}}
@media(max-width:700px){.location-grid{grid-template-columns:1fr}.location-card:last-child:nth-child(odd){grid-column:auto;display:block}.location-card:last-child:nth-child(odd) .location-photo,.location-photo{height:220px;min-height:0}.location-address{min-height:0}.location-schedules p{display:block}.location-schedules p span{display:block;margin-top:.15rem;text-align:left}}
@media(prefers-reduced-motion:reduce){.location-grid .location-card,.location-photo img{transition:none}.location-grid .location-card:hover,.location-card:hover .location-photo img{transform:none}}


/* =========================================================
   CONSULTORIOS V2 — CONSULTA PRESENCIAL
   Solo añade las acciones finales de cada consultorio.
   ========================================================= */

.location-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem;

  margin-top:1.25rem;
}

.location-actions .location-presential{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:40px;
  padding:.65rem .9rem;

  color:#fff;
  background:#55364f;

  border:1px solid #55364f;
  border-radius:999px;

  font-size:.76rem;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;

  transition:
    transform .22s ease,
    background-color .22s ease,
    border-color .22s ease;
}

.location-actions .location-presential:hover{
  transform:translateY(-2px);
  background:#68445f;
  border-color:#68445f;
}

.location-actions .location-directions{
  margin-top:0;
}

@media(max-width:700px){
  .location-actions{
    align-items:flex-start;
    flex-direction:column;
    gap:.7rem;
  }

  .location-actions .location-presential{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .location-actions .location-presential{
    transition:none;
  }

  .location-actions .location-presential:hover{
    transform:none;
  }
}


/* =========================================================
   CONSULTORIOS V3 — ETIQUETA PRESENCIAL CLEAN
   ========================================================= */

.location-actions .location-presential{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;

  width:auto !important;
  min-height:auto !important;

  padding:.42rem .7rem !important;

  color:#55364f !important;
  background:#f6efeb !important;

  border:1px solid rgba(85,54,79,.12) !important;
  border-radius:999px !important;

  box-shadow:none !important;

  font-size:.68rem !important;
  font-weight:800 !important;
  letter-spacing:.035em !important;
  line-height:1.2 !important;

  cursor:default !important;
  transform:none !important;
}

.location-actions .location-presential::before{
  content:"";
  display:block;

  width:6px;
  height:6px;
  margin-right:.45rem;

  background:#93a691;

  border-radius:50%;
}

.location-actions .location-presential:hover{
  color:#55364f !important;
  background:#f6efeb !important;
  border-color:rgba(85,54,79,.12) !important;
  transform:none !important;
}

@media(max-width:700px){
  .location-actions .location-presential{
    width:auto !important;
  }
}
